stariy95 commented on code in PR #614: URL: https://github.com/apache/cayenne/pull/614#discussion_r1595465728
########## cayenne/src/test/java/org/apache/cayenne/access/DataContextFlattenedAttributesIT.java: ########## @@ -457,28 +457,42 @@ public void testDelete() throws Exception { a.setArtistName("AX"); context.commitChanges(); - CompoundPainting o1 = context.newObject(CompoundPainting.class); - o1.setArtistName("A1"); - o1.setEstimatedPrice(new BigDecimal(1.0d)); - o1.setGalleryName("G1"); - o1.setPaintingTitle("P1"); - o1.setTextReview("T1"); + createTestDataSet(); Review Comment: Yeah, I think we should fix it. There's always shortage of the tests for corner cases. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@cayenne.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org