Changeset 52153 for trunk/tests/phpunit/tests/oembed/template.php
- Timestamp:
- 11/13/2021 07:26:52 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/oembed/template.php
r52132 r52153 301 301 $actual = preg_replace( '/secret=("?)\w+\1/', 'secret=__SECRET__', $actual ); 302 302 303 $this->assertStringEndsWith( $expected, $actual ); 303 $this->assertStringStartsWith( '<blockquote class="wp-embedded-content" data-secret=__SECRET__>', $actual ); 304 $this->assertStringContainsString( $expected, $actual ); 305 $this->assertStringEndsWith( '</script>', trim( $actual ) ); 304 306 } 305 307
Note: See TracChangeset
for help on using the changeset viewer.