mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
No effective change - test assert to contains rather than containsExactly
This commit is contained in:
@@ -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