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
F14757964: D20013.diff
Wed, Jan 22, 4:13 AM
Unknown Object (File)
Wed, Jan 15, 2:48 AM
Unknown Object (File)
Wed, Jan 1, 9:21 AM
Unknown Object (File)
Tue, Dec 24, 5:48 PM
Unknown Object (File)
Dec 7 2024, 12:46 PM
Unknown Object (File)
Dec 7 2024, 8:48 AM
Unknown Object (File)
Dec 6 2024, 5:25 PM
Unknown Object (File)
Dec 2 2024, 3:48 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
Branch
mfa10
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 21633
Build 29496: Run Core Tests
Build 29495: arc lint + arc unit