]> BookStack Code Mirror - bookstack/blobdiff - tests/Auth/ResetPasswordTest.php
Fixed OIDC Logout
[bookstack] / tests / Auth / ResetPasswordTest.php
index 7b2d2e72b1cf910f42032543ecad09d24212901f..b97a2f2d380fb3b1b72eb69dbaa76b6f3767d621 100644 (file)
@@ -2,8 +2,8 @@
 
 namespace Tests\Auth;
 
-use BookStack\Auth\User;
 use BookStack\Notifications\ResetPassword;
+use BookStack\Users\Models\User;
 use Illuminate\Support\Facades\Notification;
 use Tests\TestCase;
 
@@ -85,7 +85,7 @@ class ResetPasswordTest extends TestCase
 
     public function test_reset_request_is_throttled()
     {
-        $editor = $this->getEditor();
+        $editor = $this->users->editor();
         Notification::fake();
         $this->get('/password/email');
         $this->followingRedirects()->post('/password/email', [