mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/10824] Add missing imports and adjust json sanitizer imports
This way the imports will also be a bit more explicit to the fact that this is only a json sanitizer. PHPBB3-10824
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
use phpbb\json\sanitizer;
|
||||
use phpbb\json\sanitizer as json_sanitizer;
|
||||
|
||||
class phpbb_json_sanitizer_test extends phpbb_test_case
|
||||
{
|
||||
@@ -30,6 +30,6 @@ class phpbb_json_sanitizer_test extends phpbb_test_case
|
||||
*/
|
||||
public function test_decode_data($input, $output)
|
||||
{
|
||||
$this->assertEquals($output, sanitizer::decode($input));
|
||||
$this->assertEquals($output, json_sanitizer::decode($input));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user