Skip to content

Commit

Permalink
[ANCHOR-809] More sep31 post txn param fix (#175)
Browse files Browse the repository at this point in the history
* more sep31 txn param fix

* more sep31 txn param fix
  • Loading branch information
JiahuiWho authored Nov 20, 2024
1 parent 44018c5 commit 3b00491
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion @stellar/anchor-tests/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stellar/anchor-tests",
"version": "0.6.18",
"version": "0.6.19",
"description": "stellar-anchor-tests is a library and command line interface for testing Stellar anchors.",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
Expand Down
3 changes: 3 additions & 0 deletions @stellar/anchor-tests/src/tests/sep31/transactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ const canCreateTransaction: Test = {
receiver_id: this.context.expects.receivingCustomerId,
amount: 100,
asset_code: config.assetCode,
funding_method: "SEPA",
fields: {
transaction: {
...config.sepConfig["31"].transactionFields,
Expand Down Expand Up @@ -317,6 +318,7 @@ const failsWithNoAmount: Test = {
sender_id: this.context.expects.sendingCustomerId,
receiver_id: this.context.expects.receivingCustomerId,
asset_code: config.assetCode,
funding_method: "SEPA",
fields: {
transaction: {
...config.sepConfig["31"].transactionFields,
Expand Down Expand Up @@ -366,6 +368,7 @@ const failsWithNoAssetCode: Test = {
sender_id: this.context.expects.sendingCustomerId,
receiver_id: this.context.expects.receivingCustomerId,
amount: 100,
funding_method: "SEPA",
fields: {
transaction: {
...config.sepConfig["31"].transactionFields,
Expand Down
2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@
"winston": "^3.3.3"
},
"peerDependencies": {
"@stellar/anchor-tests": "0.6.18"
"@stellar/anchor-tests": "0.6.19"
}
}

0 comments on commit 3b00491

Please sign in to comment.