Skip to content

Commit

Permalink
test: fix failing runtime/v2 test (#22760)
Browse files Browse the repository at this point in the history
  • Loading branch information
aljo242 authored Dec 5, 2024
1 parent ec5225c commit 227854e
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 227854e

Please sign in to comment.