Fix tests after [37708].
See #36767. git-svn-id: https://develop.svn.wordpress.org/trunk@37710 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b2671c3880
commit
3c34040bf2
@ -35,7 +35,7 @@ class Tests_WP_oEmbed extends WP_UnitTestCase {
|
||||
$actual = $this->oembed->get_html( $permalink );
|
||||
remove_filter( 'pre_oembed_result', array( $this, '_filter_pre_oembed_result' ) );
|
||||
|
||||
$this->assertNotFalse( $this->pre_oembed_result_filtered );
|
||||
$this->assertTrue( false !== $this->pre_oembed_result_filtered );
|
||||
$this->assertEquals( $this->pre_oembed_result_filtered, $actual );
|
||||
}
|
||||
|
||||
@ -50,7 +50,7 @@ class Tests_WP_oEmbed extends WP_UnitTestCase {
|
||||
$actual = $this->oembed->get_html( $permalink );
|
||||
remove_filter( 'pre_oembed_result', array( $this, '_filter_pre_oembed_result' ) );
|
||||
|
||||
$this->assertNotFalse( $this->pre_oembed_result_filtered );
|
||||
$this->assertTrue( false !== $this->pre_oembed_result_filtered );
|
||||
$this->assertEquals( $this->pre_oembed_result_filtered, $actual );
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user