Skip to content

Commit

Permalink
test: test query user info by address
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhangguiguang committed Dec 14, 2023
1 parent a77f910 commit 6d4db9e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dmens/query_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@ func TestQueryUserInfoByAddress(t *testing.T) {
require.Nil(t, err)
t.Log(res.JsonString())

// query user not exists
res, err = poster.QueryUserInfoByAddress("0x1")
require.Nil(t, err)
require.Nil(t, res)

// query specified user's info
// res, err = poster.QueryUserInfoByAddress("0x5cbf57ec2dd5c4eb0560ee6ac20e9f8f3a75eca1")

Expand Down

0 comments on commit 6d4db9e

Please sign in to comment.