Debug test failure

Signed-off-by: Brian Meek <brian@hntlabs.com>
This commit is contained in:
Brian Meek 2023-02-07 09:13:26 -08:00
parent 5e556292c9
commit b19342ecee
No known key found for this signature in database
GPG key ID: ACBD71263BF42D00

View file

@ -264,6 +264,7 @@ func TestRegisterEthereum(t *testing.T) {
// Asserts // Asserts
assert := assert.New(t) assert := assert.New(t)
assert.NotNil(response, "response actual: nil, expected: not nil") assert.NotNil(response, "response actual: nil, expected: not nil")
assert.Implements((*registerResponse)(nil), response.JSON, "response.JSON received: %v", response.JSON)
registerRes := response.JSON.(registerResponse) registerRes := response.JSON.(registerResponse)
assert.Truef( assert.Truef(
registerRes.UserID == wallet.Eip155UserId, registerRes.UserID == wallet.Eip155UserId,