diff --git a/core/scheduler/service/deployment_service_test.go b/core/scheduler/service/deployment_service_test.go index c016eafef4..0d7588619a 100644 --- a/core/scheduler/service/deployment_service_test.go +++ b/core/scheduler/service/deployment_service_test.go @@ -340,7 +340,7 @@ func TestDeploymentService(t *testing.T) { defer mScheduler.AssertExpectations(t) runService := service.NewJobRunService(logger, jobRepo, nil, nil, nil, - mScheduler, priorityResolver, nil, nil, nil, nil) + mScheduler, priorityResolver, nil, nil, nil) err := runService.UploadJobs(ctx, tnnt1, jobNamesToUpload, jobNamesToDelete) assert.ErrorContains(t, err, upstreamErr) diff --git a/ext/sheets/gsheet/sheet_info_test.go b/ext/sheets/gsheet/sheet_info_test.go index ac99c39c1e..eeb7fa3595 100644 --- a/ext/sheets/gsheet/sheet_info_test.go +++ b/ext/sheets/gsheet/sheet_info_test.go @@ -21,15 +21,15 @@ func TestSheetInfo(t *testing.T) { info, err := gsheet.FromURL(u1) assert.Nil(t, err) - assert.Equal(t, info.SheetID, "abcedefgh") - assert.Equal(t, info.GID, "") + assert.Equal(t, "abcedefgh", info.SheetID) + assert.Equal(t, int64(-1), info.GID) }) t.Run("return sheet info with sid and gid", func(t *testing.T) { u1 := "https://docs.google.com/spreadsheets/d/abcdeghi/edit#gid=3726" info, err := gsheet.FromURL(u1) assert.Nil(t, err) - assert.Equal(t, info.SheetID, "abcdeghi") - assert.Equal(t, info.GID, "3726") + assert.Equal(t, "abcdeghi", info.SheetID) + assert.Equal(t, int64(3726), info.GID) }) }