Skip to content

Commit

Permalink
Changes the class member we modify to uniques
Browse files Browse the repository at this point in the history
The class member property we modify in Faker’s UniqueGenerator is
uniques, that UniqueGenerator’s class methods then access to check for
unique data.
  • Loading branch information
artstorm committed Sep 1, 2015
1 parent 4199594 commit b0a9a00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/tests/Traits/HelpersTrait.php
Expand Up @@ -41,7 +41,7 @@ protected function getFakerWithUniqueUserData()
$unique = $faker->unique();

$binder = function ($value) {
$this->uniqueUserValues = $value;
$this->uniques = $value;
};

$uniqueBinder = $binder->bindTo($unique, $unique);
Expand Down

0 comments on commit b0a9a00

Please sign in to comment.