mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 13:24:03 +00:00
667 B
667 B
| title | tweet_id | thread_slug | author_username | images | created_at | slug | |
|---|---|---|---|---|---|---|---|
| You can use `Notification::assertNothingSentTo()` to check that no notifications were sent to a specific user/notifiable model | 1509994037830332416 | weekly-thread-2022-13 | AshAllenDesign |
|
2022-04-01T20:40:07+00:00 | you-can-use-notificationassertnothingsentto-to-check-that-no-notifications-were-sent-to-a-specific-usernotifiable-model |
🚀 You can now use the new "assertNothingSentTo" method in your Laravel tests.
You can use this to ensure that no notifications were sent to a given notifiable model (or models)!
#laravel #php