Closed ajcastro closed 3 years ago
Modify your routeNotificationsFor
method to return null if you're in the testing env.
@atymic that does not work because the TwilioChannel::getTo()
checks the user if it has phone_number and returns it causing it to still send the sms.
@atymic I sent a PR. Hope it helps. Thanks!
Hi there!
How to disable twilio sending sms during phpunit testing?