From 49d8e2a9f83c3efbddabc897557870c2e7e5c26a Mon Sep 17 00:00:00 2001 From: Jamie Li Date: Wed, 14 Jun 2023 17:58:37 -0700 Subject: [PATCH] Fix the test errors caused by testnet resets --- .../test/kotlin/org/stellar/anchor/util/SepHelperTest.kt | 4 ++-- .../kotlin/org/stellar/anchor/platform/TestAccounts.kt | 8 ++------ .../kotlin/org/stellar/anchor/platform/test/Sep24Tests.kt | 4 ++-- .../kotlin/org/stellar/anchor/platform/test/Sep31Tests.kt | 2 +- 4 files changed, 7 insertions(+), 11 deletions(-) diff --git a/core/src/test/kotlin/org/stellar/anchor/util/SepHelperTest.kt b/core/src/test/kotlin/org/stellar/anchor/util/SepHelperTest.kt index b17e3c58a6..540d3c6d73 100644 --- a/core/src/test/kotlin/org/stellar/anchor/util/SepHelperTest.kt +++ b/core/src/test/kotlin/org/stellar/anchor/util/SepHelperTest.kt @@ -22,8 +22,8 @@ internal class SepHelperTest { @CsvSource( value = [ - "GCHU3RZAECOKGM2YAJLQIIYB2ZPLMFTTGN5D3XZNX4RDOEERVLXO7HU4,", - "GCHU3RZAECOKGM2YAJLQIIYB2ZPLMFTTGN5D3XZNX4RDOEERVLXO7HU4:1234,1234", + "GDJLBYYKMCXNVVNABOE66NYXQGIA5AC5D223Z2KF6ZEYK4UBCA7FKLTG,", + "GDJLBYYKMCXNVVNABOE66NYXQGIA5AC5D223Z2KF6ZEYK4UBCA7FKLTG:1234,1234", "MCEO75Y6YKE53HM6N46IJYH3LK3YYFZ4QWGNUKCSSIQSH3KOAD7BEAAAAAAAAAAAPNT2W," ] ) diff --git a/integration-tests/src/test/kotlin/org/stellar/anchor/platform/TestAccounts.kt b/integration-tests/src/test/kotlin/org/stellar/anchor/platform/TestAccounts.kt index 95da96dcf9..34bd8527d4 100644 --- a/integration-tests/src/test/kotlin/org/stellar/anchor/platform/TestAccounts.kt +++ b/integration-tests/src/test/kotlin/org/stellar/anchor/platform/TestAccounts.kt @@ -1,10 +1,6 @@ package org.stellar.anchor.platform -var CLIENT_WALLET_SECRET = "SCQ2YRUGKBO4Q6RWSXV3SYVGHJB525XVKUP2HDGVW3LV42UBLGTZ24XX" -var CLIENT_WALLET_ACCOUNT = "GCHU3RZAECOKGM2YAJLQIIYB2ZPLMFTTGN5D3XZNX4RDOEERVLXO7HU4" +var CLIENT_WALLET_SECRET = "SBHTWEF5U7FK53FLGDMBQYGXRUJ24VBM3M6VDXCHRIGCRG3Z64PH45LW" +var CLIENT_WALLET_ACCOUNT = "GDJLBYYKMCXNVVNABOE66NYXQGIA5AC5D223Z2KF6ZEYK4UBCA7FKLTG" var CLIENT_WALLET_EXTRA_SIGNER_1_SECRET = "SDUDRKCL5AX7RDZ7S6JAPBNKLV6LRZXJSHN5OJDP32TIJB42ODPQODHY" -var CLIENT_WALLET_EXTRA_SIGNER_1_ACCOUNT = - "GC6X2ANA2OS3O2ESHUV6X44NH6J46EP2EO2JB7563Y7DYOIXFKHMHJ5O" var CLIENT_WALLET_EXTRA_SIGNER_2_SECRET = "SC52GRNSIODLPNGTXUCZ5NHBII4PYUKUVQCCWWIK6OB6P4AW4M37DXZK" -var CLIENT_WALLET_EXTRA_SIGNER_2_ACCOUNT = - "GATEYCIMJZ2F6Y437QSYH4XFQ6HLD5YP4MBJZFFPZVEQDJOY4QTCB7BB" diff --git a/integration-tests/src/test/kotlin/org/stellar/anchor/platform/test/Sep24Tests.kt b/integration-tests/src/test/kotlin/org/stellar/anchor/platform/test/Sep24Tests.kt index 0690e2f8e0..8e5f003715 100644 --- a/integration-tests/src/test/kotlin/org/stellar/anchor/platform/test/Sep24Tests.kt +++ b/integration-tests/src/test/kotlin/org/stellar/anchor/platform/test/Sep24Tests.kt @@ -158,7 +158,7 @@ private const val depositRequest = "amount": "10", "asset_code": "USDC", "asset_issuer": "GDQOE23CFSUMSVQK4Y5JHPPYK73VYCNHZHA7ENKCV37P6SUEO6XQBKPP", - "account": "GCHU3RZAECOKGM2YAJLQIIYB2ZPLMFTTGN5D3XZNX4RDOEERVLXO7HU4", + "account": "GDJLBYYKMCXNVVNABOE66NYXQGIA5AC5D223Z2KF6ZEYK4UBCA7FKLTG", "lang": "en" }""" @@ -373,7 +373,7 @@ private const val expectedSep24DepositResponse = "kind": "deposit", "status": "incomplete", "refunded": false, - "to": "GCHU3RZAECOKGM2YAJLQIIYB2ZPLMFTTGN5D3XZNX4RDOEERVLXO7HU4" + "to": "GDJLBYYKMCXNVVNABOE66NYXQGIA5AC5D223Z2KF6ZEYK4UBCA7FKLTG" } } """ diff --git a/integration-tests/src/test/kotlin/org/stellar/anchor/platform/test/Sep31Tests.kt b/integration-tests/src/test/kotlin/org/stellar/anchor/platform/test/Sep31Tests.kt index 184087ece2..b287c40915 100644 --- a/integration-tests/src/test/kotlin/org/stellar/anchor/platform/test/Sep31Tests.kt +++ b/integration-tests/src/test/kotlin/org/stellar/anchor/platform/test/Sep31Tests.kt @@ -631,7 +631,7 @@ private const val expectedAfterPatch = } }, "creator": { - "account": "GCHU3RZAECOKGM2YAJLQIIYB2ZPLMFTTGN5D3XZNX4RDOEERVLXO7HU4" + "account": "GDJLBYYKMCXNVVNABOE66NYXQGIA5AC5D223Z2KF6ZEYK4UBCA7FKLTG" } } """