From f39fbc1ba4803401d618d159062495ac4d10ddab Mon Sep 17 00:00:00 2001 From: Tom Schuermans Date: Thu, 7 Jan 2016 14:56:04 +0100 Subject: [PATCH] Fixed failing test and updated testGetRpcErrorMessageIsNull --- test/unit/Message/ResponseTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/Message/ResponseTest.php b/test/unit/Message/ResponseTest.php index 3503f72..3cdccf8 100644 --- a/test/unit/Message/ResponseTest.php +++ b/test/unit/Message/ResponseTest.php @@ -73,7 +73,7 @@ public function testGetRpcErrorMessageIsNull() { $response = new Response(200); - $this->assertNull($response->getRpcErrorCode()); + $this->assertNull($response->getRpcErrorMessage()); } public function testGetRpcErrorData() @@ -82,7 +82,7 @@ public function testGetRpcErrorData() 'error' => ['data' => array()] ])); - $this->assertEquals(array(), $response->getRpcErrorMessage()); + $this->assertEquals(array(), $response->getRpcErrorData()); } public function testGetRpcErrorDataIsNull()