mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-14 06:45:21 +00:00
FIX: platform.base problem
This commit is contained in:
1 parent
9b24c3f63a
commit
23f97356e5
1 file changed
+1
-1
@@ -18,7 +18,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
|||||||
public class DbMigrationTest extends BaseTestCase {
|
public class DbMigrationTest extends BaseTestCase {
|
||||||
|
|
||||||
private void runScript(String scriptName) throws IOException {
|
private void runScript(String scriptName) throws IOException {
|
||||||
URL url = getClass().getResource("/migrationtest/dbmigration/" + server().platform().name().toLowerCase() + "/" + scriptName);
|
URL url = getClass().getResource("/migrationtest/dbmigration/" + server().platform().base().name().toLowerCase() + "/" + scriptName);
|
||||||
assert url != null : scriptName + " not found";
|
assert url != null : scriptName + " not found";
|
||||||
server().script().run(url);
|
server().script().run(url);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user