X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/eaa1765c7a68cd671bcb37a666203210bf05d217..refs/pull/806/head:/tests/TestCase.php diff --git a/tests/TestCase.php b/tests/TestCase.php index 8578b17e4..e0f160eed 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -1,25 +1,28 @@ -make(Illuminate\Contracts\Console\Kernel::class)->bootstrap(); - - return $app; + $response->assertRedirect('/'); + $this->assertTrue(session()->has('error')); + session()->remove('error'); } -} +} \ No newline at end of file