Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
aljo242 authored Dec 4, 2024
1 parent 556102c commit 43e7131
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions runtime/v2/services_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,11 @@ func TestRegisterServices(t *testing.T) {
},
}

mockModule.On("RegisterMsgHandlers", app.msgRouterBuilder).Once()
mockModule.On("RegisterQueryHandlers", app.queryRouterBuilder).Once()
msgWrapper := newStfRouterWrapper(app.msgRouterBuilder)
queryWrapper := newStfRouterWrapper(app.queryRouterBuilder)

mockModule.On("RegisterMsgHandlers", &msgWrapper).Once()
mockModule.On("RegisterQueryHandlers", &queryWrapper).Once()

err := mm.RegisterServices(app)

Expand Down

0 comments on commit 43e7131

Please sign in to comment.