Changeset 52978 for trunk/tests/phpunit/tests/oembed/template.php
- Timestamp:
- 03/22/2022 04:23:32 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/oembed/template.php
r52437 r52978 48 48 $doc = new DOMDocument(); 49 49 $this->assertTrue( $doc->loadHTML( $actual ) ); 50 $this->assertStringNotContainsString( 'That embed can ’t be found.', $actual );50 $this->assertStringNotContainsString( 'That embed cannot be found.', $actual ); 51 51 $this->assertStringContainsString( 'Hello World', $actual ); 52 52 } … … 80 80 $doc = new DOMDocument(); 81 81 $this->assertTrue( $doc->loadHTML( $actual ) ); 82 $this->assertStringNotContainsString( 'That embed can ’t be found.', $actual );82 $this->assertStringNotContainsString( 'That embed cannot be found.', $actual ); 83 83 $this->assertStringContainsString( 'Hello World', $actual ); 84 84 $this->assertStringContainsString( 'canola.jpg', $actual ); … … 97 97 $doc = new DOMDocument(); 98 98 $this->assertTrue( $doc->loadHTML( $actual ) ); 99 $this->assertStringContainsString( 'That embed can ’t be found.', $actual );99 $this->assertStringContainsString( 'That embed cannot be found.', $actual ); 100 100 } 101 101 … … 124 124 $doc = new DOMDocument(); 125 125 $this->assertTrue( $doc->loadHTML( $actual ) ); 126 $this->assertStringNotContainsString( 'That embed can ’t be found.', $actual );126 $this->assertStringNotContainsString( 'That embed cannot be found.', $actual ); 127 127 $this->assertStringContainsString( 'Hello World', $actual ); 128 128 $this->assertStringContainsString( 'canola.jpg', $actual ); … … 149 149 $doc = new DOMDocument(); 150 150 $this->assertTrue( $doc->loadHTML( $actual ) ); 151 $this->assertStringContainsString( 'That embed can ’t be found.', $actual );151 $this->assertStringContainsString( 'That embed cannot be found.', $actual ); 152 152 } 153 153 … … 173 173 $doc = new DOMDocument(); 174 174 $this->assertTrue( $doc->loadHTML( $actual ) ); 175 $this->assertStringContainsString( 'That embed can ’t be found.', $actual );175 $this->assertStringContainsString( 'That embed cannot be found.', $actual ); 176 176 } 177 177 … … 196 196 $doc = new DOMDocument(); 197 197 $this->assertTrue( $doc->loadHTML( $actual ) ); 198 $this->assertStringContainsString( 'That embed can ’t be found.', $actual );198 $this->assertStringContainsString( 'That embed cannot be found.', $actual ); 199 199 } 200 200 … … 223 223 $doc = new DOMDocument(); 224 224 $this->assertTrue( $doc->loadHTML( $actual ) ); 225 $this->assertStringNotContainsString( 'That embed can ’t be found.', $actual );225 $this->assertStringNotContainsString( 'That embed cannot be found.', $actual ); 226 226 $this->assertStringContainsString( 'Hello World', $actual ); 227 227 }
Note: See TracChangeset
for help on using the changeset viewer.