Skip to content

Commit 441662d

Browse files
ashleyhindlegithub-actions[bot]
authored andcommitted
Fix code styling
1 parent 732e220 commit 441662d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Feature/Console/StartCommandTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@
181181
app(\Laravel\Mcp\Server\Registrar::class)->oauthRoutes();
182182

183183
// Create a test route that returns 401 to trigger the middleware
184-
Route::post('test-oauth-401', fn() => response()->json(['error' => 'unauthorized'], 401))->middleware([\Laravel\Mcp\Server\Middleware\AddWwwAuthenticateHeader::class]);
184+
Route::post('test-oauth-401', fn () => response()->json(['error' => 'unauthorized'], 401))->middleware([\Laravel\Mcp\Server\Middleware\AddWwwAuthenticateHeader::class]);
185185

186186
$response = $this->postJson('test-oauth-401', []);
187187

@@ -195,7 +195,7 @@
195195

196196
it('returns Sanctum WWW-Authenticate header when OAuth routes are not enabled and response is 401', function (): void {
197197
// Create a test route that returns 401 to trigger the middleware
198-
Route::post('test-sanctum-401', fn() => response()->json(['error' => 'unauthorized'], 401))->middleware([\Laravel\Mcp\Server\Middleware\AddWwwAuthenticateHeader::class]);
198+
Route::post('test-sanctum-401', fn () => response()->json(['error' => 'unauthorized'], 401))->middleware([\Laravel\Mcp\Server\Middleware\AddWwwAuthenticateHeader::class]);
199199

200200
$response = $this->postJson('test-sanctum-401', []);
201201

0 commit comments

Comments
 (0)