add foreignkey to event table

This commit is contained in:
2020-07-19 12:39:22 +02:00
parent fe14127648
commit 1e7e1fc09e
2 changed files with 19 additions and 3 deletions

View File

@@ -14,14 +14,14 @@ class MemosTest extends TestCase
use RefreshDatabase;
/** @test */
public function an_unauthenticated_user_should_redirect_to_login()
/* public function an_unauthenticated_user_should_redirect_to_login()
{
$response = $this->post('/api/memos', $this->data());
$this->assertGuest($guard = null);
$response->assertRedirect('/login');
$this->assertCount(0, Memo::all());
}
} */
/** @test */
public function an_unauthenticated_user_can_add_a_memo()