Skip to content

Commit 8ebdcc9

Browse files
committed
[#11] Fix unit test
- Was still referring to `http_status`, instead of `status`.
1 parent c201bd1 commit 8ebdcc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/ZFTest/ApiProblem/Listener/ApiProblemListenerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function testOnDispatchErrorReturnsAnApiProblemResponseBasedOnCurrentEven
4848
$this->assertSame($return, $response);
4949
$problem = $response->getApiProblem();
5050
$this->assertInstanceOf('ZF\ApiProblem\ApiProblem', $problem);
51-
$this->assertEquals(400, $problem->http_status);
51+
$this->assertEquals(400, $problem->status);
5252
$this->assertSame($event->getParam('exception'), $problem->detail);
5353
}
5454
}

0 commit comments

Comments
 (0)