© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
2 replies
oddvalue

Logout route doesn't exist in tests

When I try and test that pages load, as per the docs, on any panel other than the default I get an error saying that the logout route doesn't exist:

Symfony\Component\Routing\Exception\RouteNotFoundException: Route [filament.affiliate.auth.logout] not defined. in /home/tmstores/www/vendor/laravel/framework/src/Illuminate/Routing/UrlGenerator.php:479
Symfony\Component\Routing\Exception\RouteNotFoundException: Route [filament.affiliate.auth.logout] not defined. in /home/tmstores/www/vendor/laravel/framework/src/Illuminate/Routing/UrlGenerator.php:479


it('can render page', function () {
    $this->get(AffiliateResource::getUrl('create'))->assertSuccessful();
});
it('can render page', function () {
    $this->get(AffiliateResource::getUrl('create'))->assertSuccessful();
});


Is there something I'm doing wrong? Is there a step required to ensure these routes are registered?
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Logout Route
FilamentFFilament / ❓┊help
11mo ago
Repeater simple doesn't exist
FilamentFFilament / ❓┊help
3y ago
Infolist Action `->createAnother()` doesn't exist
FilamentFFilament / ❓┊help
2y ago
Route [filament.app.auth.logout] not defined.
FilamentFFilament / ❓┊help
3y ago