From b28d4abd7f764acaaa379bde0dc270a922524805 Mon Sep 17 00:00:00 2001 From: Mykolas Date: Mon, 7 Oct 2019 21:31:57 +0300 Subject: [PATCH] test fix --- Tests/Action/StatusActionTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 +}