Skip to content

Commit 7c4554a

Browse files
fix: fix mock tests with inner fields that have underscores
1 parent eded84a commit 7c4554a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

pkg/cmd/message_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ func TestMessagesSend(t *testing.T) {
6969
t,
7070
"messages", "send",
7171
"--chat-id", "!NCdzlIaMjZUmvmvyHU:beeper.com",
72-
"--attachment.uploadID", "uploadID",
72+
"--attachment.upload-id", "uploadID",
7373
"--attachment.duration", "0",
74-
"--attachment.fileName", "fileName",
75-
"--attachment.mimeType", "mimeType",
74+
"--attachment.file-name", "fileName",
75+
"--attachment.mime-type", "mimeType",
7676
"--attachment.size", "{height: 0, width: 0}",
7777
"--attachment.type", "gif",
7878
"--reply-to-message-id", "replyToMessageID",

0 commit comments

Comments
 (0)