Make WordPress Core


Ignore:
Timestamp:
06/15/2016 11:54:28 AM (8 years ago)
Author:
swissspidy
Message:

Fix tests after [37708].

See #36767.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/oembed/wpOembed.php

    r37708 r37710  
    3636        remove_filter( 'pre_oembed_result', array( $this, '_filter_pre_oembed_result' ) );
    3737
    38         $this->assertNotFalse( $this->pre_oembed_result_filtered );
     38        $this->assertTrue( false !== $this->pre_oembed_result_filtered );
    3939        $this->assertEquals( $this->pre_oembed_result_filtered, $actual );
    4040    }
     
    5151        remove_filter( 'pre_oembed_result', array( $this, '_filter_pre_oembed_result' ) );
    5252
    53         $this->assertNotFalse( $this->pre_oembed_result_filtered );
     53        $this->assertTrue( false !== $this->pre_oembed_result_filtered );
    5454        $this->assertEquals( $this->pre_oembed_result_filtered, $actual );
    5555    }
Note: See TracChangeset for help on using the changeset viewer.