No effective change - update tests using Platform enum rather than name

This commit is contained in:
Rob Bygrave committed 2016-12-20 20:41:55 +13:00
1 parent bc93a82b1a
commit fcc58d77e8
15 files changed
+37 -33

No files matched your search

@@ -33,7 +33,7 @@ public class TestOnCascadeDeleteChildrenWithCompositeKeys extends BaseTestCase {
@Before
public void before() {
if (isMsSqlServer()) return;
if (isSqlServer()) return;
// remove all the User records first
Ebean.deleteAll(Ebean.find(User.class).findList());
@@ -49,7 +49,7 @@ public class TestOnCascadeDeleteChildrenWithCompositeKeys extends BaseTestCase {
@Test
public void testDeleteById() {
if (isMsSqlServer()) return;
if (isSqlServer()) return;
assertEquals(2, Ebean.find(User.class).findList().size());
Ebean.delete(User.class, 1L);
@@ -64,7 +64,7 @@ public class TestOnCascadeDeleteChildrenWithCompositeKeys extends BaseTestCase {
@Test
public void testDeleteByIdList() {
if (isMsSqlServer()) return;
if (isSqlServer()) return;
assertEquals(2, Ebean.find(User.class).findList().size());
List<Long> ids = new ArrayList<>();
@@ -78,7 +78,7 @@ public class TestOnCascadeDeleteChildrenWithCompositeKeys extends BaseTestCase {
@Test
public void testFindByParentIdList() {
if (isMsSqlServer()) return;
if (isSqlServer()) return;
assertEquals(2, Ebean.find(User.class).findList().size());