You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by nt...@apache.org on 2023/02/09 11:27:56 UTC

[cayenne] 02/05: CAY-2792 Fix Insertion Order For Reflexive DataObjects fixed comments in passing test

This is an automated email from the ASF dual-hosted git repository.

ntimofeev pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cayenne.git

commit 824c6679f7899010ef195161fd180e33f5f52859
Author: Matt Watson <ma...@swarmbox.com>
AuthorDate: Mon Feb 6 10:56:27 2023 -0800

    CAY-2792 Fix Insertion Order For Reflexive DataObjects
    fixed comments in passing test
---
 .../test/java/org/apache/cayenne/CayenneDataObjectReflexiveIT.java    | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/cayenne-server/src/test/java/org/apache/cayenne/CayenneDataObjectReflexiveIT.java b/cayenne-server/src/test/java/org/apache/cayenne/CayenneDataObjectReflexiveIT.java
index 1d35d8346..7e07ea1c5 100644
--- a/cayenne-server/src/test/java/org/apache/cayenne/CayenneDataObjectReflexiveIT.java
+++ b/cayenne-server/src/test/java/org/apache/cayenne/CayenneDataObjectReflexiveIT.java
@@ -41,13 +41,11 @@ public class CayenneDataObjectReflexiveIT extends ServerCase {
 
     @Test
     public void addReflexiveParentAndChild() {
-        // can add Reflexive Parent (that belongsTo Other) and Child, 100 times
+        // can add Reflexive Parent and Child, 100 times
         final int attempts = 100;
         int errors = 0;
 
         for (int i = 0; i < attempts; i++) {
-            // when parent is created and associated to "Other"
-
             final Reflexive parent = context.newObject(Reflexive.class);
             parent.setName("parentA"+i);