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)
Mon, Aug 8, 5:17 PM
Unknown Object (File)
Sun, Aug 7, 4:35 AM
Unknown Object (File)
Thu, Aug 4, 4:23 AM
Unknown Object (File)
Thu, Jul 21, 10:06 PM
Unknown Object (File)
Jul 14 2022, 11:21 PM
Unknown Object (File)
Jul 14 2022, 10:34 PM
Unknown Object (File)
Jul 6 2022, 8:26 PM
Unknown Object (File)
Jun 30 2022, 6:28 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