Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
stoksc committed Oct 14, 2024
1 parent 826ac92 commit 454e573
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions master/internal/command/command_intg_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ func setupTest(t *testing.T) *db.PgDB {
mockRM.On("Allocate", mock.Anything, mock.Anything).Return(sub, nil)
mockRM.On("Release", mock.Anything, mock.Anything).Return(nil)
mockRM.On("SetGroupPriority", mock.Anything, mock.Anything).Return(nil)
mockRM.On("SmallerValueIsHigherPriority").Return(true, nil)

cs, _ := NewService(db.SingleDB(), &mockRM)
SetDefaultService(cs)
Expand Down

0 comments on commit 454e573

Please sign in to comment.