Skip to content

Commit 89422ed

Browse files
committed
Remove unnecessary config override from same-domain test
The test uses production.example.com which doesn't match default stateful domains (localhost, 127.0.0.1), so overriding api_stateful_domains is unnecessary. Verified test still fails without the fix and passes with it.
1 parent a4d2104 commit 89422ed

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/Feature/Authorization/ApiAuthenticationTest.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,7 @@
8282
});
8383

8484
test('same-domain requests work without APP_URL configured', function () {
85-
config([
86-
'app.url' => null,
87-
'log-viewer.api_stateful_domains' => [], // Override to exclude localhost
88-
]);
85+
config(['app.url' => null]);
8986

9087
// Auth callback that requires session to be started (proving session middleware was applied)
9188
LogViewer::auth(function ($request) {

0 commit comments

Comments
 (0)