mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-10 10:44:20 +02:00
[ticket/16549] Move from assert[Not]Contains to assertString[Not]ContainsString
PHPBB3-16549
This commit is contained in:
@@ -143,7 +143,7 @@ class phpbb_functional_fileupload_form_test extends phpbb_functional_test_case
|
||||
$crawler = $this->upload_file('valid.jpg', 'image/jpeg');
|
||||
|
||||
// Ensure there was no error message rendered
|
||||
$this->assertNotContains('<h2>' . $this->lang('INFORMATION') . '</h2>', $this->get_content());
|
||||
$this->assertStringNotContainsString('<h2>' . $this->lang('INFORMATION') . '</h2>', $this->get_content());
|
||||
|
||||
// Also the file name should be in the first row of the files table
|
||||
$this->assertEquals('valid.jpg', $crawler->filter('span.file-name')->eq(1)->text());
|
||||
|
Reference in New Issue
Block a user