fix(sns) Allow to publish SMS using phone-number (#138)

Co-authored-by: tada <tada20591@cs.saisoncard.co.jp>
This commit is contained in:
Masatoshi Tadaandtada authored and GitHub committed 2026-03-31 16:00:46 -05:00
1 parent 35e129d024
commit 788cf01d2c
4 files changed
+21 -6

No files matched your search

@@ -153,6 +153,12 @@ class SnsServiceTest {
assertNotNull(messageId);
}
@Test
void publish_withPhoneNumber_returnsMessageId() {
String messageId = snsService.publish(null, null, "+819012345678", "Hello phone!", null, null, REGION);
assertNotNull(messageId);
}
@Test
void publish_requiresTopicArn() {
assertThrows(AwsException.class,