Skip to content

Commit

Permalink
Fix JUnit test
Browse files Browse the repository at this point in the history
  • Loading branch information
vinamogit committed May 3, 2022
1 parent 2b6a10b commit f3e98d5
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ public void testDeserializeWithLiquidityPoolBalance() {
Page<AccountResponse> accountsPage = GsonSingleton.getInstance().fromJson(jsonLiquidityPool, new TypeToken<Page<AccountResponse>>() {}.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" +
Expand Down

0 comments on commit f3e98d5

Please sign in to comment.