Skip to content

Commit

Permalink
Fixed failing test and updated testGetRpcErrorMessageIsNull
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Schuermans committed Jan 7, 2016
1 parent 44f862c commit f39fbc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/Message/ResponseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function testGetRpcErrorMessageIsNull()
{
$response = new Response(200);

$this->assertNull($response->getRpcErrorCode());
$this->assertNull($response->getRpcErrorMessage());
}

public function testGetRpcErrorData()
Expand All @@ -82,7 +82,7 @@ public function testGetRpcErrorData()
'error' => ['data' => array()]
]));

$this->assertEquals(array(), $response->getRpcErrorMessage());
$this->assertEquals(array(), $response->getRpcErrorData());
}

public function testGetRpcErrorDataIsNull()
Expand Down

0 comments on commit f39fbc1

Please sign in to comment.