aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2018-10-08 21:55:25 +0200
committerMarc Alexander <admin@m-a-styles.de>2018-10-08 21:55:25 +0200
commit13fe7b3ed22dbaeb2e2c9725ed38740a3b68e10a (patch)
treeb7a79bc5e502f13a60d6ce73f95ddd1b02ae153e /tests
parentbcd4b01071c26108701297302f15f1d9f58abce2 (diff)
parent89d1401a77f7a2f9ee067b90efa975e21363e914 (diff)
downloadforums-13fe7b3ed22dbaeb2e2c9725ed38740a3b68e10a.tar
forums-13fe7b3ed22dbaeb2e2c9725ed38740a3b68e10a.tar.gz
forums-13fe7b3ed22dbaeb2e2c9725ed38740a3b68e10a.tar.bz2
forums-13fe7b3ed22dbaeb2e2c9725ed38740a3b68e10a.tar.xz
forums-13fe7b3ed22dbaeb2e2c9725ed38740a3b68e10a.zip
Merge pull request #5341 from senky/ticket/15742
[ticket/15742] Remove get_magic_quotes_gpc() call
Diffstat (limited to 'tests')
-rw-r--r--tests/request/type_cast_helper_test.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/request/type_cast_helper_test.php b/tests/request/type_cast_helper_test.php
index 143c05aa9c..6407dca894 100644
--- a/tests/request/type_cast_helper_test.php
+++ b/tests/request/type_cast_helper_test.php
@@ -20,16 +20,6 @@ class phpbb_type_cast_helper_test extends phpbb_test_case
$this->type_cast_helper = new \phpbb\request\type_cast_helper();
}
- public function test_addslashes_recursively()
- {
- $data = array('some"string' => array('that"' => 'really"', 'needs"' => '"escaping'));
- $expected = array('some\\"string' => array('that\\"' => 'really\\"', 'needs\\"' => '\\"escaping'));
-
- $this->type_cast_helper->addslashes_recursively($data);
-
- $this->assertEquals($expected, $data);
- }
-
public function test_simple_recursive_set_var()
{
$data = 'eviL<3';