From 83255e1b088c672c51ee650aca286071170e394d Mon Sep 17 00:00:00 2001 From: mposolda Date: Wed, 22 Apr 2020 10:51:52 +0200 Subject: [PATCH] KEYCLOAK-13922 MigrationModelTest failing in latest master --- .../java/org/keycloak/testsuite/model/MigrationModelTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/model/MigrationModelTest.java b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/model/MigrationModelTest.java index 161d3d279b..8a1ba3e755 100644 --- a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/model/MigrationModelTest.java +++ b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/model/MigrationModelTest.java @@ -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();