@@ -4034,6 +4034,13 @@ func (s *MethodTestSuite) TestSystemFunctions() {
4034
4034
ID : j .ID ,
4035
4035
}).Asserts ( /*rbac.ResourceSystem, policy.ActionUpdate*/ )
4036
4036
}))
4037
+ s .Run ("UpdateProvisionerJobWithCompleteWithStartedAtByID" , s .Subtest (func (db database.Store , check * expects ) {
4038
+ // TODO: we need to create a ProvisionerJob resource
4039
+ j := dbgen .ProvisionerJob (s .T (), db , nil , database.ProvisionerJob {})
4040
+ check .Args (database.UpdateProvisionerJobWithCompleteWithStartedAtByIDParams {
4041
+ ID : j .ID ,
4042
+ }).Asserts ( /*rbac.ResourceSystem, policy.ActionUpdate*/ )
4043
+ }))
4037
4044
s .Run ("UpdateProvisionerJobByID" , s .Subtest (func (db database.Store , check * expects ) {
4038
4045
// TODO: we need to create a ProvisionerJob resource
4039
4046
j := dbgen .ProvisionerJob (s .T (), db , nil , database.ProvisionerJob {})
@@ -4204,6 +4211,9 @@ func (s *MethodTestSuite) TestSystemFunctions() {
4204
4211
s .Run ("GetHungProvisionerJobs" , s .Subtest (func (db database.Store , check * expects ) {
4205
4212
check .Args (time.Time {}).Asserts ()
4206
4213
}))
4214
+ s .Run ("GetNotStartedProvisionerJobs" , s .Subtest (func (db database.Store , check * expects ) {
4215
+ check .Args (time.Time {}).Asserts ()
4216
+ }))
4207
4217
s .Run ("UpsertOAuthSigningKey" , s .Subtest (func (db database.Store , check * expects ) {
4208
4218
check .Args ("foo" ).Asserts (rbac .ResourceSystem , policy .ActionUpdate )
4209
4219
}))
0 commit comments