]> BookStack Code Mirror - bookstack/commitdiff
attempt to fix unit test error for admin creation
authorIbrahim Ennafaa <redacted>
Thu, 16 Aug 2018 21:52:16 +0000 (21:52 +0000)
committerIbrahim Ennafaa <redacted>
Thu, 16 Aug 2018 21:52:16 +0000 (21:52 +0000)
app/Repos/UserRepo.php

index b828a582b40b08b023a623e8918e8327591b3f55..232c5315aff6059d8073bcb4470cdb2564c57397 100644 (file)
@@ -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([
Morty Proxy This is a proxified and sanitized view of the page, visit original site.