Tests: Correct assertion in test_wp_validate_boolean()
to make sure the return type is properly tested.
Props jrf. Fixes #39868. git-svn-id: https://develop.svn.wordpress.org/trunk@46224 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1199a99f73
commit
4d6ca5bfe5
@ -54,6 +54,6 @@ class Tests_Functions_WpValidateBoolean extends WP_UnitTestCase {
|
||||
* @ticket 39868
|
||||
*/
|
||||
public function test_wp_validate_boolean( $test_value, $expected ) {
|
||||
$this->assertEquals( wp_validate_boolean( $test_value ), $expected );
|
||||
$this->assertSame( wp_validate_boolean( $test_value ), $expected );
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user