chore: code styling via pint

This commit is contained in:
idevakk
2025-11-14 01:51:35 -08:00
parent 3892c48ef2
commit 90ab79b3a2
121 changed files with 1003 additions and 892 deletions

View File

@@ -2,7 +2,6 @@
namespace Tests\Feature\Controllers;
use App\Http\Controllers\WebhookController;
use Illuminate\Support\Facades\Config;
use Illuminate\Support\Facades\Http;
use Illuminate\Support\Facades\Log;
@@ -263,7 +262,6 @@ class WebhookControllerTest extends TestCase
'email' => 'test@example.com',
];
$response = $this->postJson('/webhook/oxapay', $invalidData);
$response->assertStatus(400);
@@ -284,7 +282,6 @@ class WebhookControllerTest extends TestCase
$validHmac = hash_hmac('sha512', $postData, $apiSecretKey);
$invalidHmac = 'invalid_hmac';
$response = $this->postJson('/webhook/oxapay', $validData, [
'HMAC' => $invalidHmac,
]);
@@ -349,7 +346,6 @@ class WebhookControllerTest extends TestCase
$invoicePostData = json_encode($invoiceData);
$invoiceHmac = hash_hmac('sha512', $invoicePostData, 'test_merchant_key');
$response = $this->postJson('/webhook/oxapay', $invoiceData, [
'HMAC' => $invoiceHmac,
]);
@@ -387,4 +383,4 @@ class WebhookControllerTest extends TestCase
$response->assertStatus(200);
}
}
}