Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
xoxloviwan committed Nov 10, 2024
1 parent 83d12bc commit bd7ad6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/api/router_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,7 @@ func TestRunServer(t *testing.T) {
ctrl := gomock.NewController(t)
defer ctrl.Finish()
cfg.StoreInterval = 0
cfg.DatabaseDSN = "" // test only with mem storage
m := NewMockRouter(ctrl)
m.EXPECT().SetupRouter(gomock.Any(), gomock.Any(), gomock.Any(), gomock.Any()).Times(1)
anyErr := fmt.Errorf("error")
Expand Down

0 comments on commit bd7ad6e

Please sign in to comment.