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:
Sergey Biryukov 2019-09-21 10:28:53 +00:00
parent 1199a99f73
commit 4d6ca5bfe5
1 changed files with 1 additions and 1 deletions

View File

@ -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 );
}
}