mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Fix platform specific assert in test TestQuerySingleAttribute
This commit is contained in:
@@ -816,7 +816,11 @@ public class TestQuerySingleAttribute extends BaseTestCase {
|
||||
.doesNotContain("order by t0.id");
|
||||
|
||||
assertThat(statusList).hasSizeGreaterThan(6);
|
||||
assertThat(statusList.get(0)).isEqualTo(null);
|
||||
if (isH2()) {
|
||||
assertThat(statusList.get(0)).isEqualTo(null);
|
||||
} else if (isPostgres()) {
|
||||
assertThat(statusList.get(0)).isEqualTo(Order.Status.NEW);
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user