diff --git a/internal/resume/internal/integration/experience_handler_test.go b/internal/resume/internal/integration/experience_handler_test.go index 0ba7e71..8989849 100644 --- a/internal/resume/internal/integration/experience_handler_test.go +++ b/internal/resume/internal/integration/experience_handler_test.go @@ -36,7 +36,6 @@ type ExperienceTestSuite struct { server *egin.Component db *egorm.Component dao dao.ExperienceDAO - ctrl *gomock.Controller } func (s *ExperienceTestSuite) TearDownTest() { @@ -106,7 +105,7 @@ func (s *ExperienceTestSuite) TestSave() { require.NoError(t, err) assert.Len(t, experiences, 1) - for i, _ := range experiences { + for i := range experiences { assert.True(t, experiences[i].Utime > 0) experiences[i].Utime = 0 assert.True(t, experiences[i].Ctime > 0) diff --git a/internal/resume/internal/integration/project_handler_test.go b/internal/resume/internal/integration/project_handler_test.go index 4f2d9f2..42e41f7 100644 --- a/internal/resume/internal/integration/project_handler_test.go +++ b/internal/resume/internal/integration/project_handler_test.go @@ -30,7 +30,7 @@ import ( "gorm.io/gorm" ) -const uid = 123 +//const uid = 123 type ProjectTestSuite struct { suite.Suite