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
The following commit(s) were added to refs/heads/master by this push:
new 0e59d5c69 CAY-2868 Regression: DefaultDbRowOpSorter shouldn't sort
update operations - fix tests
0e59d5c69 is described below
commit 0e59d5c69eee129de901c5eea8468c3edd4f9ccc
Author: Nikita Timofeev <[email protected]>
AuthorDate: Fri Aug 16 14:00:41 2024 +0300
CAY-2868 Regression: DefaultDbRowOpSorter shouldn't sort update operations
- fix tests
---
.../java/org/apache/cayenne/access/flush/DefaultDbRowOpSorterTest.java | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/cayenne/src/test/java/org/apache/cayenne/access/flush/DefaultDbRowOpSorterTest.java
b/cayenne/src/test/java/org/apache/cayenne/access/flush/DefaultDbRowOpSorterTest.java
index 8fbb3ddd4..60124a22b 100644
---
a/cayenne/src/test/java/org/apache/cayenne/access/flush/DefaultDbRowOpSorterTest.java
+++
b/cayenne/src/test/java/org/apache/cayenne/access/flush/DefaultDbRowOpSorterTest.java
@@ -195,6 +195,8 @@ public class DefaultDbRowOpSorterTest {
verify(entitySorter, times(3)).getDbEntityComparator();
verify(entitySorter) // should call entity sorter
.sortObjectsForEntity(isNull(), any(List.class), eq(false));
+ verify(entitySorter) // should call entity sorter
+ .isReflexive(any(DbEntity.class));
verifyNoMoreInteractions(entitySorter);
}