]> BookStack Code Mirror - bookstack/blobdiff - tests/Auth/AuthTest.php
replace GPL diff lib with MIT lib
[bookstack] / tests / Auth / AuthTest.php
index 067840841c8938aed53cba08a2c7c30356ac27f8..306771ed5a98883b4fb87b2242ecd90709a054fc 100644 (file)
@@ -181,7 +181,7 @@ class AuthTest extends TestCase
     public function test_user_deletion()
     {
         $userDetails = factory(\BookStack\User::class)->make();
     public function test_user_deletion()
     {
         $userDetails = factory(\BookStack\User::class)->make();
-        $user = $this->getNewUser($userDetails->toArray());
+        $user = $this->getEditor($userDetails->toArray());
 
         $this->asAdmin()
             ->visit('/settings/users/' . $user->id)
 
         $this->asAdmin()
             ->visit('/settings/users/' . $user->id)