Skip to content

Commit ed4cbd0

Browse files
committed
Fix asserts
1 parent 7786166 commit ed4cbd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/database/dbauthz/dbauthz_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2910,7 +2910,7 @@ func (s *MethodTestSuite) TestSystemFunctions() {
29102910
DisplayName: scripts[0].DisplayName,
29112911
},
29122912
}
2913-
check.Args(build.ID).Asserts(workspace, policy.ActionRead).Returns(rows)
2913+
check.Args(build.ID).Asserts(policy.ActionRead, rbac.ResourceSystem).Returns(rows)
29142914
}))
29152915
}
29162916

0 commit comments

Comments
 (0)