Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
norkans7 committed Sep 6, 2023
1 parent 5ffb18e commit ef2015f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions handlers/dialog360/dialog360_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ func setupMedia(mb *test.MockBackend) {
mb.MockMedia(stickerWEBP)
}

func TestSending(t *testing.T) {
func TestOutgoing(t *testing.T) {
// shorter max msg length for testing
maxMsgLength = 100

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

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

0 comments on commit ef2015f

Please sign in to comment.