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/media.php

    r39396 r39919  
    11761176        // Test to confirm all sources in the array include the same edit hash.
    11771177        foreach ( $sizes as $size ) {
    1178             $this->assertTrue( false !== strpos( $size, $hash ) );
     1178            $this->assertNotFalse( strpos( $size, $hash ) );
    11791179        }
    11801180    }
Note: See TracChangeset for help on using the changeset viewer.