Test updates
This commit is contained in:
parent
54fdd44189
commit
fbcd15a16d
|
@ -303,6 +303,17 @@
|
|||
</plugins>
|
||||
</pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<!--
|
||||
These tests all use a shared database, so it's easier if
|
||||
they run in a predictable order
|
||||
-->
|
||||
<runOrder>alphabetical</runOrder>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>de.juplo</groupId>
|
||||
<artifactId>hibernate4-maven-plugin</artifactId>
|
||||
|
|
|
@ -46,7 +46,9 @@ public class SystemProviderTest {
|
|||
ourLog.info(response);
|
||||
}
|
||||
|
||||
// TODO: enable!
|
||||
/**
|
||||
* This is Gramahe's test transaction - it requires some set up in order to work
|
||||
*/
|
||||
// @Test
|
||||
public void testTransactionFromBundle3() throws Exception {
|
||||
|
||||
|
|
|
@ -60,8 +60,7 @@ public class ResourceValidatorTest {
|
|||
*/
|
||||
ourDefaultLocale = Locale.getDefault();
|
||||
|
||||
Locale[] available = Locale.getAvailableLocales();
|
||||
Locale newLocale = available[(int)(Math.random() * available.length)];
|
||||
Locale newLocale = Locale.GERMANY;
|
||||
Locale.setDefault(newLocale);
|
||||
|
||||
ourLog.info("Tests are running in locale: " + newLocale.getDisplayName());
|
||||
|
|
Loading…
Reference in New Issue