Page MenuHomePhabricator

Make the "Test" adapter support both SMS and email
ClosedPublic

Authored by epriestley on Jan 21 2019, 11:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 11, 8:41 AM
Unknown Object (File)
Sun, Apr 7, 10:55 PM
Unknown Object (File)
Sun, Mar 31, 12:56 PM
Unknown Object (File)
Sat, Mar 23, 5:46 PM
Unknown Object (File)
Sat, Mar 23, 5:46 PM
Unknown Object (File)
Feb 29 2024, 4:51 PM
Unknown Object (File)
Feb 3 2024, 8:54 PM
Unknown Object (File)
Jan 9 2024, 9:19 AM
Subscribers
None

Details

Summary

Depends on D20012. Ref T920. If you have a test adapter configured, it should swallow messages and prevent them from ever hitting a lower-priority adapter.

Make the test adapter support SMS so this actually happens.

Test Plan

Ran bin/mail send-test --type sms ... with a test adapter (first) and a Twilio adapter (second). Got SMS swallowed by test adapter instead of live SMS messages.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable