Make WordPress Core


Ignore:
Timestamp:
01/17/2017 03:39:36 AM (10 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/theme.php

    r39173 r39919  
    303303                $theme = wp_get_theme();
    304304                $this->assertEquals( $style, (string) $theme );
    305                 $this->assertNotSame( false, $theme->errors() );
     305                $this->assertNotFalse( $theme->errors() );
    306306                $this->assertFalse( $theme->exists() );
    307307
Note: See TracChangeset for help on using the changeset viewer.