#2029 Opps, fix tests

This commit is contained in:
rob bygrave
2020-06-30 10:59:03 +12:00
parent 59447ad261
commit b4330679b8
2 changed files with 8 additions and 2 deletions
@@ -1,5 +1,6 @@
package io.ebean.config.dbplatform;
import io.ebean.BaseTestCase;
import io.ebean.DB;
import io.ebean.annotation.ForPlatform;
import io.ebean.annotation.Platform;
@@ -14,7 +15,7 @@ import org.junit.Test;
import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.Assert.assertEquals;
public class DatabasePlatformTest {
public class DatabasePlatformTest extends BaseTestCase {
@Test
@ForPlatform(Platform.H2)
@@ -30,10 +30,10 @@ import io.ebean.Update;
import io.ebean.UpdateQuery;
import io.ebean.ValuePair;
import io.ebean.Version;
import io.ebean.annotation.Platform;
import io.ebean.annotation.TxIsolation;
import io.ebean.bean.BeanCollection;
import io.ebean.bean.CallOrigin;
import io.ebean.bean.EntityBeanIntercept;
import io.ebean.cache.ServerCacheManager;
import io.ebean.config.ServerConfig;
import io.ebean.config.dbplatform.DatabasePlatform;
@@ -137,6 +137,11 @@ public class TDSpiEbeanServer implements SpiEbeanServer {
return null;
}
@Override
public Platform getPlatform() {
return Platform.GENERIC;
}
@Override
public SpiServer getPluginApi() {
return null;