This commit is contained in:
Romulus21
2024-04-01 20:21:02 +02:00
parent a172cdeb37
commit c0810f047b

View File

@@ -25,7 +25,8 @@ test('an user can add todo', function () {
expect($this->user->toDos)
->toHaveCount(1)
->first()->name->toBe('Test')
->first()->checked->toBeNull();
->first()->checked->toBeNull()
->first()->user->id->toBe($this->user->id);
});
test('an user can retrieve his to dos', function () {