X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/a274406038e13cf678e14d65dfa70d04ead67206..refs/pull/5280/head:/tests/Commands/ResetMfaCommandTest.php diff --git a/tests/Commands/ResetMfaCommandTest.php b/tests/Commands/ResetMfaCommandTest.php index e65a048ef..39c8c689b 100644 --- a/tests/Commands/ResetMfaCommandTest.php +++ b/tests/Commands/ResetMfaCommandTest.php @@ -2,8 +2,8 @@ namespace Tests\Commands; -use BookStack\Auth\Access\Mfa\MfaValue; -use BookStack\Auth\User; +use BookStack\Access\Mfa\MfaValue; +use BookStack\Users\Models\User; use Tests\TestCase; class ResetMfaCommandTest extends TestCase @@ -11,7 +11,7 @@ class ResetMfaCommandTest extends TestCase public function test_command_requires_email_or_id_option() { $this->artisan('bookstack:reset-mfa') - ->expectsOutput('Either a --id= or --email= option must be provided.') + ->expectsOutputToContain('Either a --id= or --email= option must be provided.') ->assertExitCode(1); }