diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2013-05-28 14:55:04 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2013-05-28 14:55:04 +0200 |
commit | 467c4d62c44a32a1a60bed2e2a2519b10cdebd33 (patch) | |
tree | ff255cbbb902af4744594961f55729f6ec3e24c6 /tests/functional/fileupload_form_test.php | |
parent | 6d9888be6504dee73341832c7de3d085f09da983 (diff) | |
download | forums-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/fileupload_form_test.php')
-rw-r--r-- | tests/functional/fileupload_form_test.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional/fileupload_form_test.php b/tests/functional/fileupload_form_test.php index b663c89e95..ec2296d6f2 100644 --- a/tests/functional/fileupload_form_test.php +++ b/tests/functional/fileupload_form_test.php @@ -68,7 +68,7 @@ class phpbb_functional_fileupload_form_test extends phpbb_functional_test_case $crawler = $this->upload_file('valid.jpg', 'image/jpeg'); $this->assert_response_success(); // ensure there was no error message rendered - $this->assertNotContains('<h2>' . $this->lang('INFORMATION') . '</h2>', $this->client->getResponse()->getContent()); + $this->assertNotContains('<h2>' . $this->lang('INFORMATION') . '</h2>', $this->get_content()); $this->assertContains($this->lang('POSTED_ATTACHMENTS'), $crawler->filter('#postform h3')->eq(1)->text()); } } |