X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/bf562540770a2889d2dacc02248572911eeb5fa5..refs/pull/4467/head:/tests/Auth/ResetPasswordTest.php diff --git a/tests/Auth/ResetPasswordTest.php b/tests/Auth/ResetPasswordTest.php index 7b2d2e72b..b97a2f2d3 100644 --- a/tests/Auth/ResetPasswordTest.php +++ b/tests/Auth/ResetPasswordTest.php @@ -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', [