mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-08 00:38:20 +00:00
No effective change - test assert to contains rather than containsExactly
This commit is contained in:
1 parent
f66316138d
commit
72263c0af0
1 file changed
+2
-2
@@ -63,7 +63,7 @@ public class TestOrphanRemoveO2M extends BaseTestCase {
|
||||
|
||||
m1 = Ebean.find(OrpMaster.class, "m2");
|
||||
assertThat(m1.getDetails()).hasSize(2);
|
||||
assertThat(m1.getDetails()).extracting("id").containsExactly("d24", "d25");
|
||||
assertThat(m1.getDetails()).extracting("id").contains("d24", "d25");
|
||||
|
||||
|
||||
m1 = Ebean.find(OrpMaster.class)
|
||||
@@ -73,6 +73,6 @@ public class TestOrphanRemoveO2M extends BaseTestCase {
|
||||
|
||||
// Expect only one.
|
||||
assertThat(m1.getDetails()).hasSize(2);
|
||||
assertThat(m1.getDetails()).extracting("id").containsExactly("d24", "d25");
|
||||
assertThat(m1.getDetails()).extracting("id").contains("d24", "d25");
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user