Skip to content

Commit

Permalink
itest: fix lsps2 test tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
JssDWt committed Jun 17, 2024
1 parent 0231a61 commit d688f37
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions itest/lsps2_buy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func testLsps2Buy(p *testParams) {
"id": "example#3cad6a54d302edba4c9ade2f7ffac098",
"params": {
"version": 1,
"token": "hello"
"token": "hello0"
}
}`),
})
Expand Down Expand Up @@ -116,5 +116,5 @@ func testLsps2Buy(p *testParams) {
p.h.T.Fatalf("Failed to get token from row: %v", err)
}

assert.Equal(p.h.T, "hello", actual)
assert.Equal(p.h.T, "hello0", actual)
}
2 changes: 1 addition & 1 deletion itest/lsps2_get_info_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func testLsps2GetInfo(p *testParams) {
"id": "example#3cad6a54d302edba4c9ade2f7ffac098",
"params": {
"version": 1,
"token": "hello"
"token": "hello0"
}
}`
p.BreezClient().Node().SendCustomMessage(&lntest.CustomMsgRequest{
Expand Down
2 changes: 1 addition & 1 deletion itest/test_common.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/stretchr/testify/assert"
)

var WorkingToken = "hello"
var WorkingToken = "hello0"

func GenerateRandomBytes(n int) ([]byte, error) {
b := make([]byte, n)
Expand Down

0 comments on commit d688f37

Please sign in to comment.