We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12dc42b commit 808be40Copy full SHA for 808be40
coderd/database/dbauthz/dbauthz_test.go
@@ -4626,6 +4626,6 @@ func (s *MethodTestSuite) TestResourcesMonitor() {
4626
monitors, err := db.FetchVolumesResourceMonitorsByAgentID(context.Background(), agt.ID)
4627
require.NoError(s.T(), err)
4628
4629
- check.Args(agt.ID).Asserts(rbac.ResourceSystem, policy.ActionRead).Returns(monitor)
+ check.Args(agt.ID).Asserts(rbac.ResourceSystem, policy.ActionRead).Returns(monitors)
4630
}))
4631
}
0 commit comments