How do you test database notifications? The following piece of code works when running in the browser, but gives no results when running in a test case:
auth()->user()->notify(new \App\Notifications\ExportFinished); dd(\DB::table('notifications')->select()->get()); // empty result set in test
Is the test 'mocking' the notification? I'm not calling
Notification::fake(); in my test!