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
F15542207: D20013.id47777.diff
Fri, Apr 25, 4:13 PM
F15531165: D20013.id47812.diff
Wed, Apr 23, 10:01 AM
F15516697: D20013.diff
Fri, Apr 18, 8:47 PM
F15515470: D20013.id.diff
Fri, Apr 18, 10:39 AM
F15515360: D20013.diff
Fri, Apr 18, 9:51 AM
F15507376: D20013.diff
Tue, Apr 15, 7:09 PM
F15504632: D20013.id47812.diff
Mon, Apr 14, 7:27 PM
F15503172: D20013.id47777.diff
Mon, Apr 14, 7:35 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