aboutsummaryrefslogtreecommitdiffstats
path: root/tests/request
diff options
context:
space:
mode:
authorJakub Senko <jakubsenko@gmail.com>2018-09-13 18:47:14 +0200
committerJakub Senko <jakubsenko@gmail.com>2018-09-13 18:47:14 +0200
commit89d1401a77f7a2f9ee067b90efa975e21363e914 (patch)
tree76cb67febb5a5f1db6adaa29edcc332e96b43ba4 /tests/request
parent8eb48e281287646bb186f831e4f076f4557a14a9 (diff)
downloadforums-89d1401a77f7a2f9ee067b90efa975e21363e914.tar
forums-89d1401a77f7a2f9ee067b90efa975e21363e914.tar.gz
forums-89d1401a77f7a2f9ee067b90efa975e21363e914.tar.bz2
forums-89d1401a77f7a2f9ee067b90efa975e21363e914.tar.xz
forums-89d1401a77f7a2f9ee067b90efa975e21363e914.zip
[ticket/15742] Remove addslashes_recursively()
PHPBB3-15742
Diffstat (limited to 'tests/request')
-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';