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
F19904091: D20013.diff
Tue, Mar 31, 6:35 AM
F19897103: D20013.diff
Sun, Mar 29, 6:31 AM
F19868421: D20013.diff
Mar 15 2026, 2:16 AM
F19812028: D20013.diff
Mar 4 2026, 3:22 AM
F19662126: D20013.id.diff
Feb 7 2026, 8:12 AM
F19598590: D20013.id47812.diff
Feb 2 2026, 11:17 PM
F19570885: D20013.id.diff
Feb 1 2026, 1:27 AM
F19567096: D20013.id47812.diff
Jan 31 2026, 8:45 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