From fa2b691996bd142352d9cf6557e2556894f54189 Mon Sep 17 00:00:00 2001 From: Bilal Catic Date: Wed, 19 Sep 2018 19:19:59 +0200 Subject: [PATCH] apply snake case change --- .../wiaas/tests/unit-tests/test-wiaas-rest-user-api.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/app/plugins/wiaas/tests/unit-tests/test-wiaas-rest-user-api.php b/backend/app/plugins/wiaas/tests/unit-tests/test-wiaas-rest-user-api.php index 80b7d85..6f8176a 100644 --- a/backend/app/plugins/wiaas/tests/unit-tests/test-wiaas-rest-user-api.php +++ b/backend/app/plugins/wiaas/tests/unit-tests/test-wiaas-rest-user-api.php @@ -102,7 +102,7 @@ class Wiass_REST_User_Api_Test extends Wiaas_Unit_Test_Case { $country = $data[0]; $this->assertNotNull($country); $this->assertTrue(is_array($country)); - $this->assertArrayHasKey('idCountry', $country); - $this->assertArrayHasKey('countryName', $country); + $this->assertArrayHasKey('country_id', $country); + $this->assertArrayHasKey('country_name', $country); } }