Redo Notes a little, improve tests

This commit is contained in:
Jonny Barnes 2021-04-29 20:02:20 +01:00
parent 751f725bfa
commit 0391cf80de
5 changed files with 107 additions and 27 deletions

View file

@ -209,6 +209,12 @@ EOF;
->where('id', $noteWithLongUrl->id)
->update(['updated_at' => $now->toDateTimeString()]);
$noteWithLocation = Note::create([
'note' => 'Some location data',
'created_at' => $now->subDay(),
'location' => '1.23,4.56',
]);
Note::factory(10)->create();
}
}