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
Unknown Object (File)
Fri, Jul 3, 11:17 PM
Unknown Object (File)
Jun 21 2026, 5:22 PM
Unknown Object (File)
Jun 9 2026, 11:50 PM
Unknown Object (File)
Jun 4 2026, 2:36 AM
Unknown Object (File)
Mar 31 2026, 6:35 AM
Unknown Object (File)
Mar 29 2026, 6:31 AM
Unknown Object (File)
Mar 15 2026, 2:16 AM
Unknown Object (File)
Mar 4 2026, 3:22 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