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
F19303984: D20013.diff
Wed, Dec 24, 6:37 AM
F19062218: D20013.diff
Nov 29 2025, 3:06 PM
F18902761: D20013.diff
Nov 8 2025, 2:36 AM
F18835537: D20013.id.diff
Oct 26 2025, 4:35 PM
F18829897: D20013.diff
Oct 25 2025, 2:01 AM
F18817560: D20013.id47777.diff
Oct 21 2025, 4:30 PM
F18674854: D20013.id.diff
Sep 25 2025, 4:32 PM
F18629519: D20013.diff
Sep 16 2025, 9:08 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
Branch
mfa10
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 21633
Build 29496: Run Core Tests
Build 29495: arc lint + arc unit