Upgrade to Laravel 13
This commit is contained in:
parent
e8e2bff5e4
commit
9f012b01e4
117 changed files with 1878 additions and 2215 deletions
|
|
@ -59,7 +59,7 @@ class LikesTest extends TestCase
|
|||
$like = Like::factory()->create();
|
||||
|
||||
$response = $this->actingAs($user)
|
||||
->get('/admin/likes/' . $like->id . '/edit');
|
||||
->get('/admin/likes/'.$like->id.'/edit');
|
||||
$response->assertSee('Edit Like');
|
||||
}
|
||||
|
||||
|
|
@ -71,7 +71,7 @@ class LikesTest extends TestCase
|
|||
$like = Like::factory()->create();
|
||||
|
||||
$this->actingAs($user)
|
||||
->post('/admin/likes/' . $like->id, [
|
||||
->post('/admin/likes/'.$like->id, [
|
||||
'_method' => 'PUT',
|
||||
'like_url' => 'https://example.com',
|
||||
]);
|
||||
|
|
@ -89,7 +89,7 @@ class LikesTest extends TestCase
|
|||
$user = User::factory()->make();
|
||||
|
||||
$this->actingAs($user)
|
||||
->post('/admin/likes/' . $like->id, [
|
||||
->post('/admin/likes/'.$like->id, [
|
||||
'_method' => 'DELETE',
|
||||
]);
|
||||
$this->assertDatabaseMissing('likes', [
|
||||
|
|
|
|||
Loading…
Reference in a new issue