Skip to content

Commit

Permalink
fix: repair tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianbormann committed Feb 16, 2024
1 parent dc0c7af commit 235f9d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
public class DbSyncDataFetcher implements DataFetcher {

private static final Logger logger = LoggerFactory.getLogger(DbSyncDataFetcher.class);
@Autowired
@Autowired(required = false)
private DbSyncDataProvider dbSyncDataProvider;

@Value("${json.data-provider.source}")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ void test_getAdaPotsForEpoch220() {
AdaPots adaPots = jsonDataProvider.getAdaPotsForEpoch(220);
Assertions.assertEquals(adaPots.getEpoch(), 220);
Assertions.assertEquals(adaPots.getTreasury(), new BigInteger("94812346026398"));
Assertions.assertEquals(adaPots.getReserves(), new BigInteger("13120582265809833.0"));
Assertions.assertEquals(adaPots.getRewards(), new BigInteger("151012138061367.0"));
Assertions.assertEquals(adaPots.getReserves(), new BigInteger("13120582265809832"));
Assertions.assertEquals(adaPots.getRewards(), new BigInteger("151012138061367"));
}

@Test
Expand Down

0 comments on commit 235f9d1

Please sign in to comment.