Upgrade to Laravel 13
This commit is contained in:
parent
e8e2bff5e4
commit
9f012b01e4
117 changed files with 1878 additions and 2215 deletions
|
|
@ -54,7 +54,7 @@ class NotesTest extends TestCase
|
|||
$user = User::factory()->make();
|
||||
$note = Note::factory()->create();
|
||||
|
||||
$response = $this->actingAs($user)->get('/admin/notes/' . $note->id . '/edit');
|
||||
$response = $this->actingAs($user)->get('/admin/notes/'.$note->id.'/edit');
|
||||
$response->assertViewIs('admin.notes.edit');
|
||||
}
|
||||
|
||||
|
|
@ -65,7 +65,7 @@ class NotesTest extends TestCase
|
|||
$user = User::factory()->make();
|
||||
$note = Note::factory()->create();
|
||||
|
||||
$this->actingAs($user)->post('/admin/notes/' . $note->id, [
|
||||
$this->actingAs($user)->post('/admin/notes/'.$note->id, [
|
||||
'_method' => 'PUT',
|
||||
'content' => 'An edited note',
|
||||
'webmentions' => true,
|
||||
|
|
@ -83,7 +83,7 @@ class NotesTest extends TestCase
|
|||
$user = User::factory()->make();
|
||||
$note = Note::factory()->create();
|
||||
|
||||
$this->actingAs($user)->post('/admin/notes/' . $note->id, [
|
||||
$this->actingAs($user)->post('/admin/notes/'.$note->id, [
|
||||
'_method' => 'DELETE',
|
||||
]);
|
||||
$this->assertSoftDeleted('notes', [
|
||||
|
|
|
|||
Loading…
Reference in a new issue