Changeset 51462 for trunk/tests/phpunit/tests/admin/includesTemplate.php
- Timestamp:
- 07/19/2021 02:00:11 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/admin/includesTemplate.php
r51419 r51462 18 18 ); 19 19 20 $this->assert Contains( "checked='checked'", $output );20 $this->assertStringContainsString( "checked='checked'", $output ); 21 21 } 22 22 … … 34 34 ); 35 35 36 $this->assert Contains( 'class="popular-category"', $output );36 $this->assertStringContainsString( 'class="popular-category"', $output ); 37 37 } 38 38 … … 186 186 $expected = sprintf( 'notice %s settings-error is-dismissible', $expected ); 187 187 188 $this->assert Contains( $expected, $output );189 $this->assert NotContains( 'notice-notice-', $output );188 $this->assertStringContainsString( $expected, $output ); 189 $this->assertStringNotContainsString( 'notice-notice-', $output ); 190 190 } 191 191
Note: See TracChangeset
for help on using the changeset viewer.