Skip to content

Commit a111e1e

Browse files
committed
fix test
1 parent 27c6919 commit a111e1e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

cli/provisioners_test.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,9 @@ func TestProvisioners_Golden(t *testing.T) {
178178
t.Logf("replace[%q] = %q", id, replaceID)
179179
}
180180

181-
// Test provisioners list with member as members can access
182-
// provisioner daemons.
181+
// Test provisioners list with template admin as members are currently
182+
// unable to access provisioner jobs. In the future (with RBAC
183+
// changes), we may allow them to view _their_ jobs.
183184
t.Run("list", func(t *testing.T) {
184185
t.Parallel()
185186

@@ -190,7 +191,7 @@ func TestProvisioners_Golden(t *testing.T) {
190191
"--column", "id,created at,last seen at,name,version,tags,key name,status,current job id,current job status,previous job id,previous job status,organization",
191192
)
192193
inv.Stdout = &got
193-
clitest.SetupConfig(t, memberClient, root)
194+
clitest.SetupConfig(t, templateAdminClient, root)
194195
err := inv.Run()
195196
require.NoError(t, err)
196197

0 commit comments

Comments
 (0)