Skip to content

Commit

Permalink
needed to force reset scope payload for retrieving the property equal…
Browse files Browse the repository at this point in the history
…s the random
  • Loading branch information
AndyWendt committed Aug 20, 2015
1 parent 82f317c commit 5e37a01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ApiFeatureContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ public function thePropertyEquals($property, $expectedValue)
*/
public function thePropertyEqualsTheRandom($property, $randomKey)
{
$payload = $this->getScopePayload();
$payload = $this->getScopePayload(true);

$actual = $this->arrayGet($payload, $property);
$expected = $this->getRandomDataForKey($randomKey);
Expand Down

0 comments on commit 5e37a01

Please sign in to comment.