diff --git a/Tests/Action/StatusActionTest.php b/Tests/Action/StatusActionTest.php index 28522ec..0eee4b0 100644 --- a/Tests/Action/StatusActionTest.php +++ b/Tests/Action/StatusActionTest.php @@ -42,11 +42,11 @@ public function shouldMarkAsNew() public function shouldMarkAsPending() { $request = new GetHumanStatus(array( - 'status' => 'PENDING' + 'status' => 'FAILED' )); $action = new StatusAction(); $action->execute($request); - $this->assertTrue($request->isPending(), 'Request should be marked as pending'); + $this->assertTrue($request->isFailed(), 'Request should be marked as failed'); } /** @@ -70,4 +70,4 @@ public function couldBeConstructedWithoutAnyArguments() $this->expectNotToPerformAssertions(); new $this->actionClass(); } -} \ No newline at end of file +}