Fix Pint formatting
This commit is contained in:
@@ -58,8 +58,7 @@ class WhatsappInviteControllerTest extends TestCase
|
||||
Sanctum::actingAs($user);
|
||||
|
||||
$this->seedInviteData();
|
||||
Event::listen(WhatsappInvitesSend::class, static function () {
|
||||
});
|
||||
Event::listen(WhatsappInvitesSend::class, static function () {});
|
||||
|
||||
$response = $this->postJson('/api/v1/whatsapp/invites/send', [
|
||||
'mode' => 'parents',
|
||||
|
||||
@@ -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