From b0a9a00a758898baa2125ce6fdb406930b45dc32 Mon Sep 17 00:00:00 2001 From: Johan Steen Date: Tue, 1 Sep 2015 13:41:49 +0700 Subject: [PATCH] Changes the class member we modify to uniques MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The class member property we modify in Faker’s UniqueGenerator is uniques, that UniqueGenerator’s class methods then access to check for unique data. --- api/tests/Traits/HelpersTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/tests/Traits/HelpersTrait.php b/api/tests/Traits/HelpersTrait.php index d8973302..06ab51db 100644 --- a/api/tests/Traits/HelpersTrait.php +++ b/api/tests/Traits/HelpersTrait.php @@ -41,7 +41,7 @@ protected function getFakerWithUniqueUserData() $unique = $faker->unique(); $binder = function ($value) { - $this->uniqueUserValues = $value; + $this->uniques = $value; }; $uniqueBinder = $binder->bindTo($unique, $unique);