From b224a2c8a0862ca4d91389bba4d98cfaef3127b8 Mon Sep 17 00:00:00 2001 From: Ibrahim Ennafaa Date: Thu, 16 Aug 2018 21:52:16 +0000 Subject: [PATCH] attempt to fix unit test error for admin creation --- app/Repos/UserRepo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Repos/UserRepo.php b/app/Repos/UserRepo.php index b828a582b..232c5315a 100644 --- a/app/Repos/UserRepo.php +++ b/app/Repos/UserRepo.php @@ -144,7 +144,7 @@ class UserRepo * @param array $data * @return User */ - public function create(array $data, $autoVerifyEmail) + public function create(array $data, $autoVerifyEmail=false) { return $this->user->forceCreate([