Skip to content

Commit f39fbc1

Browse files
author
Tom Schuermans
committed
Fixed failing test and updated testGetRpcErrorMessageIsNull
1 parent 44f862c commit f39fbc1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/unit/Message/ResponseTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function testGetRpcErrorMessageIsNull()
7373
{
7474
$response = new Response(200);
7575

76-
$this->assertNull($response->getRpcErrorCode());
76+
$this->assertNull($response->getRpcErrorMessage());
7777
}
7878

7979
public function testGetRpcErrorData()
@@ -82,7 +82,7 @@ public function testGetRpcErrorData()
8282
'error' => ['data' => array()]
8383
]));
8484

85-
$this->assertEquals(array(), $response->getRpcErrorMessage());
85+
$this->assertEquals(array(), $response->getRpcErrorData());
8686
}
8787

8888
public function testGetRpcErrorDataIsNull()

0 commit comments

Comments
 (0)