Skip to content

Commit

Permalink
test: fix test err
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-bisonai committed May 17, 2024
1 parent 0c57adb commit 44df293
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions delegator/tests/sign_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,14 @@ func TestInitialize(t *testing.T) {

readResult, err := utils.GetRequest[utils.FeePayer](appConfig.App, "/readpk", nil)
assert.Nil(t, err)
assert.Equal(t, readResult.PrivateKey, "0x12345")
assert.Equal(t, readResult.PrivateKey, "12345")

err = utils.RawReq(appConfig.App, "GET", "/api/v1/sign/initialize", nil)
assert.Nil(t, err)

readResultRefreshed, err := utils.GetRequest[utils.FeePayer](appConfig.App, "/readpk", nil)
assert.Nil(t, err)
assert.NotEqual(t, readResultRefreshed.PrivateKey, "0x12345")
assert.NotEqual(t, readResultRefreshed.PrivateKey, "12345")
}

func TestGetFeePayerAddress(t *testing.T) {
Expand Down

0 comments on commit 44df293

Please sign in to comment.