mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
refactor(cli): clean up chat share remove tests
This commit is contained in:
@@ -39,7 +39,7 @@ func TestExpChatShareRemove(t *testing.T) {
|
||||
require.NoError(t, err)
|
||||
|
||||
inv, root := clitest.New(t, "exp", "chat", "share", "remove", chat.ID.String(), "--user", sharedUser.Username)
|
||||
clitest.SetupConfig(t, client, root) //nolint:gocritic // Chat ACL updates require the chat owner to fetch and modify the chat.
|
||||
clitest.SetupConfig(t, client, root) //nolint:gocritic // Chat ACL operations require the chat owner in this fixture.
|
||||
|
||||
out := new(bytes.Buffer)
|
||||
inv.Stdout = out
|
||||
|
||||
Reference in New Issue
Block a user