Skip to content
Merged
Prev Previous commit
Next Next commit
Fix authz test
  • Loading branch information
BrunoQuaresma committed Sep 16, 2024
commit b7ad71451529dcbb424ad3bf4d85c71fcab5799c
2 changes: 1 addition & 1 deletion coderd/database/dbauthz/dbauthz_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ func (s *MethodTestSuite) TestProvisionerJob() {
s.Run("GetProvisionerJobTimingsByJobID", s.Subtest(func(db database.Store, check *expects) {
j := dbgen.ProvisionerJob(s.T(), db, nil, database.ProvisionerJob{})
t := dbgen.ProvisionerJobTimings(s.T(), db, database.InsertProvisionerJobTimingsParams{JobID: j.ID})
check.Args(j.ID).Asserts().Returns(slice.New(t))
check.Args(j.ID).Asserts().Returns(t)
}))
s.Run("GetProvisionerJobsByIDs", s.Subtest(func(db database.Store, check *expects) {
a := dbgen.ProvisionerJob(s.T(), db, nil, database.ProvisionerJob{})
Expand Down
Loading