KEYCLOAK-4233 Run failing i18n tests with community profile
This commit is contained in:
parent
1913f801b9
commit
ae40bfb96e
3 changed files with 5 additions and 2 deletions
|
@ -33,4 +33,7 @@ public class ProfileAssume {
|
|||
Assume.assumeFalse("Ignoring test as community/preview profile is enabled", !Profile.getName().equals("product"));
|
||||
}
|
||||
|
||||
public static void assumeCommunity() {
|
||||
Assume.assumeTrue("Ignoring test as community profile is not enabled", Profile.getName().equals("community"));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -83,7 +83,7 @@ public class EmailTest extends AbstractI18NTest {
|
|||
|
||||
@Test
|
||||
public void restPasswordEmailGerman() throws IOException, MessagingException {
|
||||
ProfileAssume.assumePreview();
|
||||
ProfileAssume.assumeCommunity();
|
||||
|
||||
changeUserLocale("de");
|
||||
|
||||
|
|
|
@ -97,7 +97,7 @@ public class LoginPageTest extends AbstractI18NTest {
|
|||
|
||||
@Test
|
||||
public void acceptLanguageHeader() {
|
||||
ProfileAssume.assumePreview();
|
||||
ProfileAssume.assumeCommunity();
|
||||
|
||||
DefaultHttpClient httpClient = (DefaultHttpClient) new HttpClientBuilder().build();
|
||||
ApacheHttpClient4Engine engine = new ApacheHttpClient4Engine(httpClient);
|
||||
|
|
Loading…
Reference in a new issue