Skip to content

Commit

Permalink
Refactor: selection service test setup
Browse files Browse the repository at this point in the history
  • Loading branch information
flagrantii committed Jul 21, 2024
1 parent 317915c commit 1ec3f5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/selection/test/selection.service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func (s *SelectionServiceTestSuite) SetupTest() {
s.mockCache = mock_cache.NewMockRepository(s.ctrl)
s.logger = zap.NewNop()
s.config = &config.SelectionConfig{CacheTTL: 3600}
s.service = service.NewService(s.mockRepo, s.mockCache, s.config, s.logger)
s.service = service.NewService(s.mockRepo, nil, s.mockCache, s.config, s.logger)
s.ctx = context.Background()
}

Expand Down

0 comments on commit 1ec3f5f

Please sign in to comment.