X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/2431ce9f86cdbba5bbd7b179e3ab4cd66b6a1b77..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