Changeset 50448 for trunk/tests/phpunit/tests/oembed/WpEmbed.php
- Timestamp:
- 02/27/2021 02:36:22 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/oembed/WpEmbed.php
r48939 r50448 106 106 } 107 107 108 /** 109 * @group external-http 110 */ 108 111 public function test_autoembed_should_do_nothing_without_matching_handler() { 109 112 $content = "\nhttp://example.com/embed/foo\n"; … … 113 116 } 114 117 118 /** 119 * @group external-http 120 */ 115 121 public function test_autoembed_should_return_modified_content() { 116 122 $handle = __FUNCTION__; … … 318 324 } 319 325 326 /** 327 * @group external-http 328 */ 320 329 public function test_shortcode_should_get_url_from_src_attribute() { 321 330 $url = 'http://example.com/embed/foo'; … … 325 334 } 326 335 336 /** 337 * @group external-http 338 */ 327 339 public function test_shortcode_should_return_empty_string_for_missing_url() { 328 340 $this->assertEmpty( $this->wp_embed->shortcode( array() ) ); 329 341 } 330 342 343 /** 344 * @group external-http 345 */ 331 346 public function test_shortcode_should_make_link_for_unknown_url() { 332 347 $url = 'http://example.com/embed/foo'; … … 336 351 } 337 352 353 /** 354 * @group external-http 355 */ 338 356 public function test_run_shortcode_url_only() { 339 357 $url = 'http://example.com/embed/foo';
Note: See TracChangeset
for help on using the changeset viewer.