Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
skosito committed Oct 28, 2024
1 parent 36d41ad commit 1e5aceb
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions zetaclient/zetacore/tx_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,15 @@ func TestZetacore_UpdateAppContext(t *testing.T) {
},
},
})
method = "/zetachain.zetacore.observer.Query/NodeAccountAll"
s.ExpectUnary(method).
UnlimitedTimes().
WithPayload(observertypes.QueryAllNodeAccountRequest{}).
Return(observertypes.QueryAllNodeAccountResponse{
NodeAccount: []*observertypes.NodeAccount{
sample.NodeAccount(),
},
})
},
)(t)

Expand Down

0 comments on commit 1e5aceb

Please sign in to comment.