diff --git a/src/jobservice/api/handler_test.go b/src/jobservice/api/handler_test.go index 6821d807b..03e3a7476 100644 --- a/src/jobservice/api/handler_test.go +++ b/src/jobservice/api/handler_test.go @@ -277,7 +277,7 @@ func (suite *APIHandlerTestSuite) TestGetPeriodicExecutionsWithQuery() { assert.Equal(suite.T(), 200, code, "expected 200 ok but got %d", code) } -// TestScheduledJobs ... +// TestGetJobs ... func (suite *APIHandlerTestSuite) TestGetJobs() { q := &query.Parameter{ PageNumber: 2, diff --git a/src/jobservice/common/utils/utils_test.go b/src/jobservice/common/utils/utils_test.go index 0c6dddd4b..fde4dfad3 100644 --- a/src/jobservice/common/utils/utils_test.go +++ b/src/jobservice/common/utils/utils_test.go @@ -69,7 +69,7 @@ func (suite *UtilsTestSuite) TestDirExists() { assert.False(suite.T(), DirExists(""), "empty string should not exist") } -// TestIsVaildPort tests IsVaildPort +// TestIsValidPort tests IsVaildPort func (suite *UtilsTestSuite) TestIsValidPort() { assert.True(suite.T(), IsValidPort(80), "80 should be a valid port") assert.True(suite.T(), IsValidPort(65535), "65535 should be a valid port") diff --git a/src/jobservice/core/controller_test.go b/src/jobservice/core/controller_test.go index 3e599c60e..81f901417 100644 --- a/src/jobservice/core/controller_test.go +++ b/src/jobservice/core/controller_test.go @@ -168,7 +168,7 @@ func (suite *ControllerTestSuite) TestInvalidChecks() { assert.NotNil(suite.T(), err, "invalid job name: error expected but got nil") } -// TestScheduledJobs ... +// TestGetScheduledJobs ... func (suite *ControllerTestSuite) TestGetScheduledJobs() { extras := make(query.ExtraParameters) extras.Set(query.ExtraParamKeyKind, job.KindScheduled)