Skip to content

test: assert the admin panel login flow instead of a 200 on / - #85

Merged
jeffersongoncalves merged 1 commit into
mainfrom
fix/example-test-admin-login
Sep 23, 2026
Merged

jeffersongoncalves merged 1 commit into
mainfrom
fix/example-test-admin-login

Conversation

@jeffersongoncalves

Copy link
Copy Markdown
Contributor

The stock Laravel ExampleTest expected 200 on /, but the kit ships no / route (the Filament panel lives at /admin), so the tests CI got a 404 and was always red.

The test now asserts that /admin redirects guests to filament.admin.auth.login and that the login page renders. Passes locally (PHP 8.4, assets built with pnpm).

The kit has no '/' route (the panel lives at /admin), so the stock Laravel
ExampleTest always got a 404 and the tests CI was red.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jeffersongoncalves
jeffersongoncalves merged commit 96da2cb into main Sep 23, 2026
1 of 2 checks passed
@jeffersongoncalves
jeffersongoncalves deleted the fix/example-test-admin-login branch September 23, 2026 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant