From c4d9c498c90f63c2f49d49ac49967b7176fab4c5 Mon Sep 17 00:00:00 2001 From: Daniel Palafox Date: Fri, 5 Jan 2024 13:07:18 -0500 Subject: [PATCH] fix: Update event stats test --- .../test/java/org/orcid/persistence/dao/EventStatsDaoTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orcid-persistence/src/test/java/org/orcid/persistence/dao/EventStatsDaoTest.java b/orcid-persistence/src/test/java/org/orcid/persistence/dao/EventStatsDaoTest.java index 73c9edaf601..780f294d37a 100644 --- a/orcid-persistence/src/test/java/org/orcid/persistence/dao/EventStatsDaoTest.java +++ b/orcid-persistence/src/test/java/org/orcid/persistence/dao/EventStatsDaoTest.java @@ -37,7 +37,7 @@ public void createEventStats() { assertNotNull(eventStatsEntityList); assertEquals(1, eventStatsEntityList.size()); - assertEquals(20, java.util.Optional.ofNullable(eventStatsEntityList.get(0).getCount())); + assertEquals(Integer.valueOf(20), eventStatsEntityList.get(0).getCount()); } private void createEvents() {