Fix issues with test ordering

This commit is contained in:
Rob Bygrave
2022-01-26 16:53:38 +13:00
parent 1a54fc12ad
commit 2f824c99ea
7 changed files with 35 additions and 10 deletions
@@ -8,6 +8,7 @@ import io.ebean.annotation.Platform;
import io.ebean.annotation.Transactional;
import org.junit.jupiter.api.Test;
import org.tests.model.basic.Customer;
import org.tests.model.basic.ResetBasicData;
import static org.junit.jupiter.api.Assertions.assertNotNull;
@@ -22,6 +23,7 @@ public class TestBatchSaveWithGetBeanId extends BaseTestCase {
@Test
@IgnorePlatform(Platform.HANA) // HANA doesn't support insert batching
public void test() {
ResetBasicData.reset();
Database server = DB.getDefault();
Customer model = new Customer();