Skip to content

Commit 808be40

Browse files
committed
add dbauthz tests
1 parent 12dc42b commit 808be40

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
@@ -4626,6 +4626,6 @@ func (s *MethodTestSuite) TestResourcesMonitor() {
46264626
monitors, err := db.FetchVolumesResourceMonitorsByAgentID(context.Background(), agt.ID)
46274627
require.NoError(s.T(), err)
46284628

4629-
check.Args(agt.ID).Asserts(rbac.ResourceSystem, policy.ActionRead).Returns(monitor)
4629+
check.Args(agt.ID).Asserts(rbac.ResourceSystem, policy.ActionRead).Returns(monitors)
46304630
}))
46314631
}

0 commit comments

Comments
 (0)