Changeset 41651 for trunk/tests/phpunit/tests/external-http/oembed.php
- Timestamp:
- 09/30/2017 01:14:34 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/external-http/oembed.php
r35178 r41651 36 36 global $wp_embed; 37 37 $out = $wp_embed->autoembed( 'https://www.youtube.com/embed/QcIy9NiNbmo' ); 38 $this->assertContains( 'https:// youtube.com/watch?v=QcIy9NiNbmo', $out );38 $this->assertContains( 'https://www.youtube.com/embed/QcIy9NiNbmo?feature=oembed', $out ); 39 39 } 40 40 … … 42 42 global $wp_embed; 43 43 $out = $wp_embed->autoembed( 'https://www.youtube.com/v/QcIy9NiNbmo' ); 44 $this->assertContains( 'https:// youtube.com/watch?v=QcIy9NiNbmo', $out );44 $this->assertContains( 'https://www.youtube.com/embed/QcIy9NiNbmo?feature=oembed', $out ); 45 45 } 46 46 }
Note: See TracChangeset
for help on using the changeset viewer.