Skip to content

Commit a4d2104

Browse files
committed
Remove unnecessary config override from custom port test
The test uses production.example.com:8080 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 6ab9d4c commit a4d2104

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
@@ -105,10 +105,7 @@
105105
});
106106

107107
test('same-domain requests with custom port work without APP_URL', function () {
108-
config([
109-
'app.url' => null,
110-
'log-viewer.api_stateful_domains' => [], // Override to exclude localhost
111-
]);
108+
config(['app.url' => null]);
112109

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

0 commit comments

Comments
 (0)