fix tests

This commit is contained in:
root
2026-06-11 11:46:12 -04:00
parent c91fa2ce4d
commit 5ead80fdc7
1489 changed files with 11349 additions and 10305 deletions
@@ -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);