Edujugon/PushNotification

[L 6.0]Testing push notification

minedun6 opened this issue · 0 comments

is there any way to assert that a push notification was sent to a specific device ?

In a manner that looks like this :

\Notification::fake();

// some other work in here

\Notification::assertSentTo($user, DummyNotification::class, function ($notification, $channels) {
            // assertions
});