juanpferreira wrote a reply+100 XP
5mos ago
The solution suggested by @orest worked for me in the case of Notifications, but I tried it for reverting Http::fake() (using \Illuminate\Http\Client\Factory::class instead of ChannelManager::class) and it didn't seem to work. But I found this solution which worked for both.
Notification::swap(null);
Http::swap(null);