@@ -238,7 +238,7 @@ func TestIncoming(t *testing.T) {
238
238
chs := []courier.Channel {
239
239
test .NewMockChannel ("8eb23e93-5ecb-45ba-b726-3b064e0c56ab" , "BW" , "2020" , "US" ,
240
240
[]string {urns .Phone .Prefix },
241
- map [string ]any {courier .ConfigUsername : "user1" , courier .ConfigPassword : "pass1" , configAccountID : "accound-id" , configApplicationID : "application-id" },
241
+ map [string ]any {courier .ConfigUsername : "user1" , courier .ConfigPassword : "pass1" , configAccountID : "accound-id" , configMsgApplicationID : "application-id" },
242
242
),
243
243
}
244
244
@@ -357,7 +357,7 @@ var outgoingCases = []OutgoingTestCase{
357
357
func TestOutgoing (t * testing.T ) {
358
358
ch := test .NewMockChannel ("8eb23e93-5ecb-45ba-b726-3b064e0c56ab" , "BW" , "2020" , "US" ,
359
359
[]string {urns .Phone .Prefix },
360
- map [string ]any {courier .ConfigUsername : "user1" , courier .ConfigPassword : "pass1" , configAccountID : "accound-id" , configApplicationID : "application-id" },
360
+ map [string ]any {courier .ConfigUsername : "user1" , courier .ConfigPassword : "pass1" , configAccountID : "accound-id" , configMsgApplicationID : "application-id" },
361
361
)
362
362
363
363
RunOutgoingTestCases (t , ch , newHandler (), outgoingCases , []string {httpx .BasicAuth ("user1" , "pass1" )}, nil )
@@ -367,7 +367,7 @@ func TestBuildAttachmentRequest(t *testing.T) {
367
367
mb := test .NewMockBackend ()
368
368
ch := test .NewMockChannel ("8eb23e93-5ecb-45ba-b726-3b064e0c56ab" , "BW" , "2020" , "US" ,
369
369
[]string {urns .Phone .Prefix },
370
- map [string ]any {courier .ConfigUsername : "user1" , courier .ConfigPassword : "pass1" , configAccountID : "accound-id" , configApplicationID : "application-id" },
370
+ map [string ]any {courier .ConfigUsername : "user1" , courier .ConfigPassword : "pass1" , configAccountID : "accound-id" , configMsgApplicationID : "application-id" },
371
371
)
372
372
373
373
bwHandler := & handler {NewBaseHandler (courier .ChannelType ("BW" ), "Bandwidth" )}
0 commit comments