We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c201bd1 commit 8ebdcc9Copy full SHA for 8ebdcc9
test/ZFTest/ApiProblem/Listener/ApiProblemListenerTest.php
@@ -48,7 +48,7 @@ public function testOnDispatchErrorReturnsAnApiProblemResponseBasedOnCurrentEven
48
$this->assertSame($return, $response);
49
$problem = $response->getApiProblem();
50
$this->assertInstanceOf('ZF\ApiProblem\ApiProblem', $problem);
51
- $this->assertEquals(400, $problem->http_status);
+ $this->assertEquals(400, $problem->status);
52
$this->assertSame($event->getParam('exception'), $problem->detail);
53
}
54
0 commit comments