fix gitlab tests
This commit is contained in:
@@ -52,7 +52,7 @@ class WhatsappLinkControllerTest extends TestCase
|
||||
'updated_at' => now(),
|
||||
]);
|
||||
|
||||
$response = $this->getJson('/api/v1/whatsapp/links/'.$linkId);
|
||||
$response = $this->getJson('/api/v1/whatsapp/links/' . $linkId);
|
||||
|
||||
$response->assertOk();
|
||||
$response->assertJsonPath('status', true);
|
||||
@@ -99,7 +99,7 @@ class WhatsappLinkControllerTest extends TestCase
|
||||
'updated_at' => now(),
|
||||
]);
|
||||
|
||||
$response = $this->patchJson('/api/v1/whatsapp/links/'.$linkId, [
|
||||
$response = $this->patchJson('/api/v1/whatsapp/links/' . $linkId, [
|
||||
'invite_link' => 'https://chat.whatsapp.com/updated',
|
||||
'active' => false,
|
||||
]);
|
||||
@@ -129,7 +129,7 @@ class WhatsappLinkControllerTest extends TestCase
|
||||
'updated_at' => now(),
|
||||
]);
|
||||
|
||||
$response = $this->deleteJson('/api/v1/whatsapp/links/'.$linkId);
|
||||
$response = $this->deleteJson('/api/v1/whatsapp/links/' . $linkId);
|
||||
|
||||
$response->assertOk();
|
||||
$response->assertJsonPath('status', true);
|
||||
|
||||
Reference in New Issue
Block a user