Skip to content

Commit c0cad29

Browse files
committed
fix: test
1 parent 488e2d1 commit c0cad29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

enterprise/cli/sharing_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,12 @@ func TestSharingShareEnterprise(t *testing.T) {
7272

7373
found := false
7474
for _, line := range strings.Split(out.String(), "\n") {
75-
found = strings.Contains(line, group.Name) && strings.Contains(line, string(codersdk.WorkspaceRoleAdmin))
75+
found = strings.Contains(line, group.Name) && strings.Contains(line, string(codersdk.WorkspaceRoleUse))
7676
if found {
7777
break
7878
}
7979
}
80-
assert.True(t, found, "Expected to find group name %s and role %s in output: %s", group.Name, codersdk.WorkspaceRoleAdmin, out.String())
80+
assert.True(t, found, "Expected to find group name %s and role %s in output: %s", group.Name, codersdk.WorkspaceRoleUse, out.String())
8181
})
8282

8383
t.Run("ShareWithGroups_Multiple", func(t *testing.T) {

0 commit comments

Comments
 (0)