Skip to content

Commit 13d6c42

Browse files
nikajorjikaCopilot
andauthored
Update tests/Feature/AuthorizeInboxMiddlewareTest.php
Co-authored-by: Copilot <[email protected]>
1 parent 00c7f17 commit 13d6c42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Feature/AuthorizeInboxMiddlewareTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@
2929
});
3030

3131
it('redirects to inbox.unauthorized_redirect page when set in config', function () {
32-
config()->set('inbox.unauthorized_redirect', '/custon-unauthorized');
32+
config()->set('inbox.unauthorized_redirect', '/custom-unauthorized');
3333
Gate::shouldReceive('allows')->with('viewMailbox')->andReturn(false);
3434

35-
$this->get('/mailbox-test')->assertRedirect('/custon-unauthorized');
35+
$this->get('/mailbox-test')->assertRedirect('/custom-unauthorized');
3636
});
3737

3838

0 commit comments

Comments
 (0)