From 7ebfd3d9ac8d35ed6c25744e2fe227d663570b80 Mon Sep 17 00:00:00 2001 From: Jorrit Poelen Date: Wed, 28 Feb 2024 15:09:16 -0600 Subject: [PATCH] fix test error --- .../guoda/preston/zenodo/EmitAfterZenodoRecordUpdateTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/preston-zenodo/src/test/java/bio/guoda/preston/zenodo/EmitAfterZenodoRecordUpdateTest.java b/preston-zenodo/src/test/java/bio/guoda/preston/zenodo/EmitAfterZenodoRecordUpdateTest.java index 6388494a..f0d03998 100644 --- a/preston-zenodo/src/test/java/bio/guoda/preston/zenodo/EmitAfterZenodoRecordUpdateTest.java +++ b/preston-zenodo/src/test/java/bio/guoda/preston/zenodo/EmitAfterZenodoRecordUpdateTest.java @@ -37,7 +37,7 @@ public void shouldNotEmitOnSize() { EmitAfterZenodoRecordUpdate emitAfterZenodoRecordUpdate = new EmitAfterZenodoRecordUpdate(); List nodes = addMessages(100); - assertTrue(emitAfterZenodoRecordUpdate.shouldEmit(nodes)); + assertFalse(emitAfterZenodoRecordUpdate.shouldEmit(nodes)); } private List addMessages(int numberOfMessages) {