Skip to content

Commit

Permalink
Merge pull request #97 from DrmagicE/dev
Browse files Browse the repository at this point in the history
fix test
  • Loading branch information
DrmagicE authored May 16, 2021
2 parents 60ef369 + 0840b2d commit 6bd426a
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion persistence/memory_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type MemorySuite struct {

func (s *MemorySuite) TestQueue() {
a := assert.New(s.T())
qs, err := s.p.NewQueueStore(queue_test.TestServerConfig, queue_test.TestClientID)
qs, err := s.p.NewQueueStore(queue_test.TestServerConfig, queue_test.TestNotifier, queue_test.TestClientID)
a.Nil(err)
queue_test.TestQueue(s.T(), qs)
}
Expand Down
24 changes: 12 additions & 12 deletions persistence/queue/queue_mock.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion persistence/redis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func (s *RedisSuite) TestQueue() {
a := assert.New(s.T())
cfg := queue_test.TestServerConfig
cfg.Persistence.Redis = redisConfig
qs, err := s.p.NewQueueStore(cfg, queue_test.TestClientID)
qs, err := s.p.NewQueueStore(cfg, queue_test.TestNotifier, queue_test.TestClientID)
a.Nil(err)
queue_test.TestQueue(s.T(), qs)
}
Expand Down
8 changes: 4 additions & 4 deletions server/persistence_mock.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6bd426a

Please sign in to comment.