Skip to main content

Testing session notifications

To check if a notification was sent using the session, use the assertNotified() helper:
You may optionally pass a notification title to test for:
Or test if the exact notification was sent:
Conversely, you can assert that a notification was not sent: