mirror of
https://github.com/10h30/Test-Laravel-Eloquent-Basics.git
synced 2026-07-11 19:05:53 +09:00
Task 5 - simple create
This commit is contained in:
@@ -69,4 +69,9 @@ class EloquentTest extends TestCase
|
||||
$this->assertDatabaseCount('users', 1);
|
||||
}
|
||||
|
||||
public function test_create_project() {
|
||||
$response = $this->post('projects', ['name' => 'Some name']);
|
||||
$response->assertRedirect();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user