Ticket #16327: 16327-ut.diff
| File 16327-ut.diff, 564 bytes (added by ryan, 10 months ago) |
|---|
-
tests/media.php
103 103 $this->assertEquals( 1, preg_match_all( "~wp-caption-text.*{$content_preg}~", $result, $_r ) ); 104 104 } 105 105 106 function test_add_remove_oembed_provider() { 107 wp_oembed_add_provider( 'http://foo.bar/*', 'http://foo.bar/oembed' ); 108 $this->assertTrue( wp_oembed_remove_provider( 'http://foo.bar/*' ) ); 109 $this->assertFalse( wp_oembed_remove_provider( 'http://foo.bar/*' ) ); 110 } 106 111 }
