diff --git a/pkg/cmd/auth/refresh/refresh_test.go b/pkg/cmd/auth/refresh/refresh_test.go index 59c9d490f..41d92144a 100644 --- a/pkg/cmd/auth/refresh/refresh_test.go +++ b/pkg/cmd/auth/refresh/refresh_test.go @@ -123,6 +123,14 @@ func Test_NewCmdRefresh(t *testing.T) { RemoveScopes: []string{"read:public_key"}, }, }, + { + name: "remove multiple scopes", + tty: true, + cli: "--remove-scope workflow,read:public_key", + wants: RefreshOptions{ + RemoveScopes: []string{"workflow", "read:public_key"}, + }, + }, { name: "remove scope shorthand", tty: true,