From b7d4e1284d3fde5a43be0d1f3b0064f7a1df2525 Mon Sep 17 00:00:00 2001 From: Mark Patton Date: Tue, 16 Jan 2024 13:42:14 -0500 Subject: [PATCH] Update journal loading IT for new test data --- .../java/org/eclipse/pass/loader/journal/nih/DepositIT.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pass-journal-loader/pass-journal-loader-nih/src/test/java/org/eclipse/pass/loader/journal/nih/DepositIT.java b/pass-journal-loader/pass-journal-loader-nih/src/test/java/org/eclipse/pass/loader/journal/nih/DepositIT.java index 71581564..fbc0bf41 100644 --- a/pass-journal-loader/pass-journal-loader-nih/src/test/java/org/eclipse/pass/loader/journal/nih/DepositIT.java +++ b/pass-journal-loader/pass-journal-loader-nih/src/test/java/org/eclipse/pass/loader/journal/nih/DepositIT.java @@ -63,7 +63,7 @@ public void loadFromFileTest(WireMockRuntimeInfo wmRuntimeInfo) throws Exception Main.main(new String[] {}); // We expect three journals, but no PMC A journals - assertEquals(3, listJournals().size()); + assertEquals(4, listJournals().size()); assertEquals(0, typeA(listJournals()).size()); System.setProperty("medline", ""); @@ -71,7 +71,7 @@ public void loadFromFileTest(WireMockRuntimeInfo wmRuntimeInfo) throws Exception Main.main(new String[] {}); // We still expect three journals in the repository, but now two are PMC A - assertEquals(3, listJournals().size()); + assertEquals(4, listJournals().size()); assertEquals(2, typeA(listJournals()).size()); System.setProperty("medline", ""); @@ -79,7 +79,7 @@ public void loadFromFileTest(WireMockRuntimeInfo wmRuntimeInfo) throws Exception Main.main(new String[] {}); // The last dataset removed a type A journal, so now we expect only one - assertEquals(3, listJournals().size()); + assertEquals(4, listJournals().size()); assertEquals(1, typeA(listJournals()).size()); }