diff --git a/tests/ch.elexis.core.model.test/CoreModelTests.launch b/tests/ch.elexis.core.model.test/CoreModelTests.launch index 5611793c59..21d70023c5 100644 --- a/tests/ch.elexis.core.model.test/CoreModelTests.launch +++ b/tests/ch.elexis.core.model.test/CoreModelTests.launch @@ -57,7 +57,7 @@ - + @@ -69,6 +69,7 @@ + @@ -83,7 +84,7 @@ - + @@ -100,7 +101,7 @@ - + @@ -125,7 +126,7 @@ - + @@ -154,15 +155,18 @@ - + + + + diff --git a/tests/ch.elexis.core.model.test/src/ch/elexis/core/model/service/CoreQueryTest.java b/tests/ch.elexis.core.model.test/src/ch/elexis/core/model/service/CoreQueryTest.java index 00f6414a28..c15cf35ec6 100644 --- a/tests/ch.elexis.core.model.test/src/ch/elexis/core/model/service/CoreQueryTest.java +++ b/tests/ch.elexis.core.model.test/src/ch/elexis/core/model/service/CoreQueryTest.java @@ -4,7 +4,6 @@ import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; -import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import java.time.LocalDate; @@ -457,11 +456,13 @@ public void compareExecuteCursorQueryWithLazyBlob() { byte[] content = iBlob.getContent(); assertArrayEquals(b, content); - try (IQueryCursor cursor = modelService.getQuery(IBlob.class).executeAsCursor()) { - iBlob = cursor.next(); - content = iBlob.getContent(); - assertNull(content); - } + // blob content is not lazy any more see ticket + // https://redmine.medelexis.ch/issues/25356 +// try (IQueryCursor cursor = modelService.getQuery(IBlob.class).executeAsCursor()) { +// iBlob = cursor.next(); +// content = iBlob.getContent(); +// assertNull(content); +// } try (IQueryCursor cursor = modelService.getQuery(IBlob.class) .executeAsCursor(Collections.singletonMap(QueryHints.MAINTAIN_CACHE, HintValues.TRUE))) {