From f3e98d5923f375433db1b034b623c2e57c3cd6ee Mon Sep 17 00:00:00 2001 From: vinamogit Date: Tue, 3 May 2022 22:48:33 +0200 Subject: [PATCH] Fix JUnit test --- .../stellar/sdk/responses/AccountsPageDeserializerTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/test/java/org/stellar/sdk/responses/AccountsPageDeserializerTest.java b/src/test/java/org/stellar/sdk/responses/AccountsPageDeserializerTest.java index 7e1225646..e320ace2f 100644 --- a/src/test/java/org/stellar/sdk/responses/AccountsPageDeserializerTest.java +++ b/src/test/java/org/stellar/sdk/responses/AccountsPageDeserializerTest.java @@ -25,9 +25,8 @@ public void testDeserializeWithLiquidityPoolBalance() { Page accountsPage = GsonSingleton.getInstance().fromJson(jsonLiquidityPool, new TypeToken>() {}.getType()); assertEquals(accountsPage.getRecords().get(0).getAccountId(), "GDZZYLIIJ24HWAVWAQ2PJVNKHUJLJVVLFY2SSLYINBHDY5KZTLPTEST"); - - assertEquals(accountsPage.getRecords().get(0).getBalances()[0].getLiquidityPoolID(), Optional.of(new LiquidityPoolID("a468d41d8e9b8f3c7209651608b74b7db7ac9952dcae0cdf24871d1d9c7b0088"))); + assertEquals(accountsPage.getRecords().get(0).getBalances()[1].getLiquidityPoolID(), Optional.absent()); } String json = "{\n" +