mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-06 07:36:58 +00:00
Build/Test Tools: Add assertNotFalse() method to WP_UnitTestCase and use it where appropriate.
Props peterwilsoncc. Fixes #39219. git-svn-id: https://develop.svn.wordpress.org/trunk@39919 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -302,7 +302,7 @@ class Tests_Theme extends WP_UnitTestCase {
|
||||
|
||||
$theme = wp_get_theme();
|
||||
$this->assertEquals( $style, (string) $theme );
|
||||
$this->assertNotSame( false, $theme->errors() );
|
||||
$this->assertNotFalse( $theme->errors() );
|
||||
$this->assertFalse( $theme->exists() );
|
||||
|
||||
// these return the bogus name - perhaps not ideal behaviour?
|
||||
|
||||
Reference in New Issue
Block a user