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
F15387698: D20013.id.diff
Sat, Mar 15, 2:47 AM
F15387090: D20013.id47812.diff
Sat, Mar 15, 1:48 AM
F15378186: D20013.id47812.diff
Thu, Mar 13, 1:23 PM
F15378012: D20013.id.diff
Thu, Mar 13, 12:03 PM
Unknown Object (File)
Wed, Feb 26, 8:48 PM
Unknown Object (File)
Mon, Feb 24, 12:17 PM
Unknown Object (File)
Sat, Feb 22, 5:30 PM
Unknown Object (File)
Sat, Feb 22, 3:38 PM
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