From d9e6a5dd68e1ca4eacc8d189d52f168fbe3f21ac Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 26 Sep 2019 20:30:35 +0000 Subject: [PATCH] Tests: Correct `::assertArrayHasKey()` capitalization in [46252]. Props dkarfa, david.binda. Fixes #48155. git-svn-id: https://develop.svn.wordpress.org/trunk@46329 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/rest-api/rest-post-statuses-controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/tests/rest-api/rest-post-statuses-controller.php b/tests/phpunit/tests/rest-api/rest-post-statuses-controller.php index bcf9475240..43b85289b7 100644 --- a/tests/phpunit/tests/rest-api/rest-post-statuses-controller.php +++ b/tests/phpunit/tests/rest-api/rest-post-statuses-controller.php @@ -161,7 +161,7 @@ class WP_Test_REST_Post_Statuses_Controller extends WP_Test_REST_Controller_Test $this->assertArrayHasKey( 'queryable', $properties ); $this->assertArrayHasKey( 'show_in_list', $properties ); $this->assertArrayHasKey( 'slug', $properties ); - $this->assertArrayhasKey( 'date_floating', $properties ); + $this->assertArrayHasKey( 'date_floating', $properties ); } public function test_get_additional_field_registration() {