Redo Notes a little, improve tests
This commit is contained in:
parent
751f725bfa
commit
0391cf80de
5 changed files with 107 additions and 27 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue