mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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:
@@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user