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