Skip to content

test: add a test confirming terminable route middleware is called#21

Merged
TavoNiievez merged 1 commit into
Codeception:mainfrom
countless-integers:tests/add-terminable-route-middleware-test
Jan 13, 2025
Merged

test: add a test confirming terminable route middleware is called#21
TavoNiievez merged 1 commit into
Codeception:mainfrom
countless-integers:tests/add-terminable-route-middleware-test

Conversation

@countless-integers

@countless-integers countless-integers commented Oct 16, 2023

Copy link
Copy Markdown
Contributor

Related to: Codeception/module-laravel#52

I wasn't sure how to make the assert so I went for checking a Job is dispatched to asses if the method is called. If you can think of something simpler and/or better naming let me know please.

@TavoNiievez TavoNiievez merged commit 54d9fef into Codeception:main Jan 13, 2025
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.

2 participants