Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MykolasVitkus committed Oct 7, 2019
1 parent f940baa commit b28d4ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tests/Action/StatusActionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}

/**
Expand All @@ -70,4 +70,4 @@ public function couldBeConstructedWithoutAnyArguments()
$this->expectNotToPerformAssertions();
new $this->actionClass();
}
}
}

0 comments on commit b28d4ab

Please sign in to comment.