1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 04:34:03 +00:00

Fix typo in CloneActionTest

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
lukinovec 2025-06-01 17:10:00 +02:00 committed by GitHub
parent 645232e53c
commit ba574d216c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -48,7 +48,7 @@ test('CloneRoutesAsTenant action clones routes correctly', function (Route|null
}
})->with([
null, // Clone all routes for which shouldBeCloned returns true
fn () => RouteFacade::get('/home', fn () => true)->name('home'), // THe only route that should be cloned
fn () => RouteFacade::get('/home', fn () => true)->name('home'), // The only route that should be cloned
]);
test('all routes with any of the middleware specified in cloneRoutesWithMiddleware will be cloned by default', function(array $cloneRoutesWithMiddleware) {