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
F15500195: D20013.id.diff
Sun, Apr 13, 4:40 PM
F15498253: D20013.id47812.diff
Sun, Apr 13, 12:25 PM
F15491380: D20013.diff
Sat, Apr 12, 2:44 AM
F15487016: D20013.id47812.diff
Thu, Apr 10, 10:37 AM
F15483691: D20013.id47777.diff
Wed, Apr 9, 1:48 PM
F15462909: D20013.id.diff
Tue, Apr 1, 6:47 PM
F15456024: D20013.diff
Sun, Mar 30, 6:30 AM
F15400661: D20013.id47812.diff
Mon, Mar 17, 1:11 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