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)
Sun, May 25, 6:52 PM
Unknown Object (File)
Tue, May 20, 5:06 PM
Unknown Object (File)
Mon, May 19, 2:52 AM
Unknown Object (File)
Fri, May 9, 2:13 AM
Unknown Object (File)
Fri, May 9, 1:24 AM
Unknown Object (File)
Apr 25 2025, 4:13 PM
Unknown Object (File)
Apr 23 2025, 10:01 AM
Unknown Object (File)
Apr 18 2025, 8:47 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