Laravel testing on demand notification
问题 I have a slack notification class that sends a message inside our company slack account, in a specific channel, every time an user performs the activation process. The system works, but it's manually tested and that's not cool. The notification is sent by a listener attached to an UserHasBeenActivated event, the listener is the following: public function handle(UserHasBeenActivated $event) { Notification::route("slack", config("services.slack.user.url")) ->notify(new UserActivated($event-