diff --git tests/phpunit/includes/testcase.php tests/phpunit/includes/testcase.php
index 344f9eb..436b488 100644
|
|
class WP_UnitTestCase extends PHPUnit_Framework_TestCase { |
436 | 436 | } |
437 | 437 | |
438 | 438 | /** |
| 439 | * Asserts that a condition is not false. |
| 440 | * |
| 441 | * @param bool $condition |
| 442 | * @param string $message |
| 443 | * |
| 444 | * @throws PHPUnit_Framework_AssertionFailedError |
| 445 | */ |
| 446 | public static function assertNotFalse( $condition, $message = '' ) { |
| 447 | self::assertThat( $condition, self::logicalNot( self::isFalse() ), $message ); |
| 448 | } |
| 449 | |
| 450 | /** |
439 | 451 | * Modify WordPress's query internals as if a given URL has been requested. |
440 | 452 | * |
441 | 453 | * @param string $url The URL for the request. |