diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-11-22 17:48:37 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-11-22 17:48:37 +0100 |
commit | 5c3b6a855944d7a370186987ebebe3a896cf76a2 (patch) | |
tree | a4e50394f86019133c053e3dd0339b291c6a5bae /tests/extension | |
parent | a3b18d87ddef00424a2dc35061780e1a7dc2c0c6 (diff) | |
parent | 0f06b88ee7aa508ea44704f2973ce1e57f9accf2 (diff) | |
download | forums-5c3b6a855944d7a370186987ebebe3a896cf76a2.tar forums-5c3b6a855944d7a370186987ebebe3a896cf76a2.tar.gz forums-5c3b6a855944d7a370186987ebebe3a896cf76a2.tar.bz2 forums-5c3b6a855944d7a370186987ebebe3a896cf76a2.tar.xz forums-5c3b6a855944d7a370186987ebebe3a896cf76a2.zip |
Merge pull request #10 from phpbb/ticket/security-171
[ticket/security-171] Use type cast helper for json data
Diffstat (limited to 'tests/extension')
-rw-r--r-- | tests/extension/metadata_manager_test.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/extension/metadata_manager_test.php b/tests/extension/metadata_manager_test.php index 8e27b39459..fab1d3af3a 100644 --- a/tests/extension/metadata_manager_test.php +++ b/tests/extension/metadata_manager_test.php @@ -123,6 +123,7 @@ class phpbb_extension_metadata_manager_test extends phpbb_database_test_case } $json = json_decode(file_get_contents($this->phpbb_root_path . 'ext/vendor2/foo/composer.json'), true); + array_walk_recursive($json, array($manager, 'sanitize_json')); $this->assertEquals($metadata, $json); } |