aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional/metadata_manager_test.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-05-28 14:55:04 +0200
committerJoas Schilling <nickvergessen@gmx.de>2013-05-28 14:55:04 +0200
commit467c4d62c44a32a1a60bed2e2a2519b10cdebd33 (patch)
treeff255cbbb902af4744594961f55729f6ec3e24c6 /tests/functional/metadata_manager_test.php
parent6d9888be6504dee73341832c7de3d085f09da983 (diff)
downloadforums-467c4d62c44a32a1a60bed2e2a2519b10cdebd33.tar
forums-467c4d62c44a32a1a60bed2e2a2519b10cdebd33.tar.gz
forums-467c4d62c44a32a1a60bed2e2a2519b10cdebd33.tar.bz2
forums-467c4d62c44a32a1a60bed2e2a2519b10cdebd33.tar.xz
forums-467c4d62c44a32a1a60bed2e2a2519b10cdebd33.zip
[ticket/develop/11568] Do not directly access $client from tests
PHPBB3-11568
Diffstat (limited to 'tests/functional/metadata_manager_test.php')
-rw-r--r--tests/functional/metadata_manager_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional/metadata_manager_test.php b/tests/functional/metadata_manager_test.php
index 0125886e04..fa668b3cb5 100644
--- a/tests/functional/metadata_manager_test.php
+++ b/tests/functional/metadata_manager_test.php
@@ -97,7 +97,7 @@ class phpbb_functional_metadata_manager_test extends phpbb_functional_test_case
// Details should be html escaped
// However, text() only returns the displayed text, so HTML Special Chars are decoded.
// So we test this directly on the content of the response.
- $this->assertContains('<p id="require_php">&gt;=5.3</p>', $this->client->getResponse()->getContent());
+ $this->assertContains('<p id="require_php">&gt;=5.3</p>', $this->get_content());
}
public function test_extensions_details_notexists()