Make WordPress Core


Ignore:
Timestamp:
01/17/2017 03:39:36 AM (9 years ago)
Author:
SergeyBiryukov
Message:

Build/Test Tools: Add assertNotFalse() method to WP_UnitTestCase and use it where appropriate.

Props peterwilsoncc.
Fixes #39219.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/customize/custom-css-setting.php

    r39918 r39919  
    151151        $saved = $this->setting->save();
    152152
    153         $this->assertTrue( false !== $saved );
     153        $this->assertNotFalse( $saved );
    154154        $this->assertEquals( $updated_css, $this->setting->value() );
    155155        $this->assertEquals( $updated_css, wp_get_custom_css( $this->setting->stylesheet ) );
Note: See TracChangeset for help on using the changeset viewer.