Changeset 50448
- Timestamp:
- 02/27/2021 02:36:22 PM (4 years ago)
- Location:
- trunk/tests/phpunit/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/media.php
r50132 r50448 281 281 /** 282 282 * @ticket 23776 283 * 284 * @group external-http 283 285 */ 284 286 function test_autoembed_no_paragraphs_around_urls() { … … 1281 1283 /** 1282 1284 * @ticket 33016 1285 * 1286 * @group external-http 1283 1287 */ 1284 1288 function test_multiline_comment_with_embeds() { … … 1324 1328 /** 1325 1329 * @ticket 33016 1330 * 1331 * @group external-http 1326 1332 */ 1327 1333 function test_oembed_explicit_media_link() { -
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.