Skip to content

Commit ef2015f

Browse files
committed
Fix tests
1 parent 5ffb18e commit ef2015f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

handlers/dialog360/dialog360_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ func setupMedia(mb *test.MockBackend) {
657657
mb.MockMedia(stickerWEBP)
658658
}
659659

660-
func TestSending(t *testing.T) {
660+
func TestOutgoing(t *testing.T) {
661661
// shorter max msg length for testing
662662
maxMsgLength = 100
663663

@@ -667,7 +667,7 @@ func TestSending(t *testing.T) {
667667
})
668668
checkRedacted := []string{"the-auth-token"}
669669

670-
RunChannelSendTestCases(t, ChannelWAC, newWAHandler(courier.ChannelType("D3C"), "360Dialog"), SendTestCasesD3C, checkRedacted, setupMedia)
670+
RunOutgoingTestCases(t, ChannelWAC, newWAHandler(courier.ChannelType("D3C"), "360Dialog"), SendTestCasesD3C, checkRedacted, setupMedia)
671671
}
672672
func TestGetSupportedLanguage(t *testing.T) {
673673
assert.Equal(t, languageInfo{"en", "Menu"}, getSupportedLanguage(courier.NilLocale))

0 commit comments

Comments
 (0)