KEYCLOAK-13922 MigrationModelTest failing in latest master

This commit is contained in:
mposolda 2020-04-22 10:51:52 +02:00 committed by Stian Thorgersen
parent 12e53e6f11
commit 83255e1b08

View file

@ -27,7 +27,7 @@ public class MigrationModelTest extends AbstractKeycloakTest {
@Test
public void test() {
testingClient.server().run(session -> {
String currentVersion = Version.VERSION_KEYCLOAK.replaceAll("^(\\d(?:\\.\\d){0,2}).*$", "$1");
String currentVersion = Version.VERSION_KEYCLOAK.replaceAll("^(\\d+(?:\\.\\d+){0,2}).*$", "$1");
JpaConnectionProvider p = session.getProvider(JpaConnectionProvider.class);
EntityManager em = p.getEntityManager();