diff --git a/backend/app/plugins/wiaas/tests/unit-tests/test-wiaas-rest-delivery-process-api.php b/backend/app/plugins/wiaas/tests/unit-tests/test-wiaas-rest-delivery-process-api.php index 72a0976..c2cf204 100644 --- a/backend/app/plugins/wiaas/tests/unit-tests/test-wiaas-rest-delivery-process-api.php +++ b/backend/app/plugins/wiaas/tests/unit-tests/test-wiaas-rest-delivery-process-api.php @@ -42,14 +42,14 @@ class Wiass_REST_Delivery_Process_Api_Test extends Wiaas_Unit_Test_Case { $this->assertTrue(is_array($pending_step)); - $this->assertArrayHasKey('idOrder', $pending_step); - $this->assertArrayHasKey('orderNumber', $pending_step); + $this->assertArrayHasKey('order_id', $pending_step); + $this->assertArrayHasKey('order_number', $pending_step); $this->assertArrayHasKey('status', $pending_step); - $this->assertArrayHasKey('stepAction', $pending_step); + $this->assertArrayHasKey('step_action', $pending_step); - $this->assertEquals($pending_step['idOrder'], $this->order_id); - $this->assertEquals($pending_step['orderNumber'], $this->order_id); + $this->assertEquals($pending_step['order_id'], $this->order_id); + $this->assertEquals($pending_step['order_number'], $this->order_id); $this->assertEquals($pending_step['status'], 'pending'); - $this->assertNotEmpty($pending_step['stepAction']); + $this->assertNotEmpty($pending_step['step_action']); } }