Changeset 40388 for branches/4.7/tests/phpunit/includes/testcase.php
- Timestamp:
- 04/06/2017 06:19:02 PM (7 years ago)
- Location:
- branches/4.7
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.7
-
branches/4.7/tests/phpunit/includes/testcase.php
r40250 r40388 459 459 ksort( $actual ); 460 460 $this->assertEquals( $expected, $actual ); 461 } 462 463 /** 464 * Asserts that a condition is not false. 465 * 466 * @param bool $condition 467 * @param string $message 468 * 469 * @throws PHPUnit_Framework_AssertionFailedError 470 */ 471 public static function assertNotFalse( $condition, $message = '' ) { 472 self::assertThat( $condition, self::logicalNot( self::isFalse() ), $message ); 461 473 } 462 474
Note: See TracChangeset
for help on using the changeset viewer.