Changeset 51462 for trunk/tests/phpunit/tests/oembed/template.php
- Timestamp:
- 07/19/2021 02:00:11 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/oembed/template.php
r51451 r51462 301 301 */ 302 302 function test_js_no_ampersands() { 303 $this->assert NotContains( '&', file_get_contents( ABSPATH . WPINC . '/js/wp-embed.js' ) );303 $this->assertStringNotContainsString( '&', file_get_contents( ABSPATH . WPINC . '/js/wp-embed.js' ) ); 304 304 } 305 305 }
Note: See TracChangeset
for help on using the changeset viewer.