mirror of
https://github.com/10h30/Test-Eloquent-Relationships.git
synced 2026-07-11 10:46:13 +09:00
Fix Task 2 - no relationship
This commit is contained in:
@@ -34,6 +34,7 @@ class RelationshipsTest extends TestCase
|
|||||||
Task::create(['name' => 'Some task']);
|
Task::create(['name' => 'Some task']);
|
||||||
|
|
||||||
$response = $this->get('/tasks');
|
$response = $this->get('/tasks');
|
||||||
|
$response->assertSeeText('Some task');
|
||||||
$response->assertStatus(200);
|
$response->assertStatus(200);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user