diff --git a/database/types/schedule_test.go b/database/types/schedule_test.go index 10b4da233..3ac634ac5 100644 --- a/database/types/schedule_test.go +++ b/database/types/schedule_test.go @@ -94,6 +94,7 @@ func TestTypes_Schedule_ToAPI(t *testing.T) { repo.SetPipelineType("yaml") repo.SetPreviousName("oldName") repo.SetApproveBuild(constants.ApproveNever) + repo.SetApprovalTimeout(7) currTime := time.Now().UTC() nextTime, _ := gronx.NextTickAfter("0 0 * * *", currTime, false)