WordPress.org

Make WordPress Core

Changeset 936 in tests


Ignore:
Timestamp:
07/26/12 20:19:03 (21 months ago)
Author:
ryan
Message:

Add remove oembed provider tests for #WP16327

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/media.php

    r904 r936  
    104104  } 
    105105 
     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    } 
    106111} 
Note: See TracChangeset for help on using the changeset viewer.