Skip to content

Commit 38329b7

Browse files
stainless-app[bot]batuhan
authored andcommitted
fix: add missing client parameter flags to test cases
1 parent f3883a0 commit 38329b7

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

pkg/cmd/chat_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ func TestChatsCreate(t *testing.T) {
3131
mocktest.TestRunMockTestWithFlags(
3232
t,
3333
"chats", "create",
34+
"--access-token", "string",
3435
"--account-id", "accountID",
3536
"--allow-invite=true",
3637
"--message-text", "messageText",

pkg/cmd/chatreminder_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ func TestChatsRemindersCreate(t *testing.T) {
2525
mocktest.TestRunMockTestWithFlags(
2626
t,
2727
"chats:reminders", "create",
28+
"--access-token", "string",
2829
"--chat-id", "!NCdzlIaMjZUmvmvyHU:beeper.com",
2930
"--reminder.remind-at-ms", "0",
3031
"--reminder.dismiss-on-incoming-message=true",

pkg/cmd/message_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ func TestMessagesSend(t *testing.T) {
7272
mocktest.TestRunMockTestWithFlags(
7373
t,
7474
"messages", "send",
75+
"--access-token", "string",
7576
"--chat-id", "!NCdzlIaMjZUmvmvyHU:beeper.com",
7677
"--attachment.upload-id", "uploadID",
7778
"--attachment.duration", "0",

0 commit comments

Comments
 (0)