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
F18629519: D20013.diff
Tue, Sep 16, 9:08 AM
F18597941: D20013.diff
Sat, Sep 13, 4:01 AM
F18593562: D20013.diff
Fri, Sep 12, 3:15 PM
F18593559: D20013.diff
Fri, Sep 12, 3:15 PM
F18566889: D20013.id.diff
Tue, Sep 9, 2:59 PM
F18168122: D20013.id47777.diff
Aug 15 2025, 2:13 PM
F18130130: D20013.id47812.diff
Aug 13 2025, 7:59 PM
F18088406: D20013.diff
Aug 6 2025, 7:47 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