style updates

This commit is contained in:
Mark Gregory
2026-06-23 13:39:02 +01:00
parent e79cadc7f8
commit 3be4ff590f
129 changed files with 482 additions and 404 deletions
@@ -46,7 +46,7 @@ class InternalApiCoverageTest extends TestCase
{
config(['platform.internal_api_key' => 'testing-secret']);
$timestamp = now()->subMinutes(10)->toIso8601String();
$signature = hash_hmac('sha256', $timestamp.'.', 'testing-secret');
$signature = hash_hmac('sha256', $timestamp . '.', 'testing-secret');
$this->withHeaders([
'X-WMS-Timestamp' => $timestamp,
@@ -64,7 +64,7 @@ class InternalApiCoverageTest extends TestCase
$this->withHeaders([
'X-WMS-Timestamp' => $timestamp,
'X-WMS-Signature' => hash_hmac('sha256', $timestamp.'.', 'wrong-secret'),
'X-WMS-Signature' => hash_hmac('sha256', $timestamp . '.', 'wrong-secret'),
])->getJson('/api/internal/companies')->assertUnauthorized();
}
@@ -81,7 +81,7 @@ class InternalApiCoverageTest extends TestCase
Warehouse::create(['company_id' => $company->id, 'code' => 'SUM', 'name' => 'Summary Warehouse']);
$timestamp = now()->toIso8601String();
$signature = hash_hmac('sha256', $timestamp.'.', 'testing-secret');
$signature = hash_hmac('sha256', $timestamp . '.', 'testing-secret');
$this->withHeaders([
'X-WMS-Timestamp' => $timestamp,