mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-19 23:02:24 +00:00
#2357 - Update tests to move away from deprecated methods
This commit is contained in:
1 parent
e95442d8ec
commit
66143280fa
19 files changed
+57
-66
No files matched your search
+3
-4
@@ -1,7 +1,7 @@
|
||||
package org.tests.inheritance.company.domain;
|
||||
|
||||
import io.ebean.Ebean;
|
||||
import io.ebean.EbeanServer;
|
||||
import io.ebean.DB;
|
||||
import io.ebean.Database;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import java.util.List;
|
||||
@@ -13,8 +13,7 @@ public class TestInheritAbstract {
|
||||
|
||||
@Test
|
||||
public void testMe() {
|
||||
|
||||
EbeanServer server = Ebean.getServer(null);
|
||||
Database server = DB.getDefault();
|
||||
|
||||
List<AbstractBar> list0 = server.find(AbstractBar.class)
|
||||
.findList();
|
||||
|
||||
Reference in new issue
Block a user