aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-base/archiva-configuration
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-02-29 19:46:04 +0000
committerOlivier Lamy <olamy@apache.org>2012-02-29 19:46:04 +0000
commit547e68a6e8f84bf762baa61e1adae8a793ddc875 (patch)
tree726423247d2ceaf900753e20285d44006704d0ed /archiva-modules/archiva-base/archiva-configuration
parente257441e6ebe12b94d59c39404d8501392e6ad0c (diff)
downloadarchiva-547e68a6e8f84bf762baa61e1adae8a793ddc875.tar.gz
archiva-547e68a6e8f84bf762baa61e1adae8a793ddc875.zip
fix selenium test due to i18n change
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1295238 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-base/archiva-configuration')
-rw-r--r--archiva-modules/archiva-base/archiva-configuration/src/test/java/org/apache/archiva/configuration/ArchivaConfigurationTest.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/archiva-modules/archiva-base/archiva-configuration/src/test/java/org/apache/archiva/configuration/ArchivaConfigurationTest.java b/archiva-modules/archiva-base/archiva-configuration/src/test/java/org/apache/archiva/configuration/ArchivaConfigurationTest.java
index 2ecdc0dc6..54bad1b24 100644
--- a/archiva-modules/archiva-base/archiva-configuration/src/test/java/org/apache/archiva/configuration/ArchivaConfigurationTest.java
+++ b/archiva-modules/archiva-base/archiva-configuration/src/test/java/org/apache/archiva/configuration/ArchivaConfigurationTest.java
@@ -306,8 +306,7 @@ public class ArchivaConfigurationTest
userFile.getParentFile( ).mkdirs( );
FileUtils.writeStringToFile( userFile, "<configuration/>", null );
- ArchivaConfiguration archivaConfiguration =
- (ArchivaConfiguration) lookup( ArchivaConfiguration.class, "test-save-user" );
+ ArchivaConfiguration archivaConfiguration = lookup( ArchivaConfiguration.class, "test-save-user" );
Configuration configuration = new Configuration( );
configuration.setWebapp( new WebappConfiguration( ) );
@@ -336,8 +335,7 @@ public class ArchivaConfigurationTest
userFile.delete( );
assertFalse( userFile.exists( ) );
- ArchivaConfiguration archivaConfiguration =
- (ArchivaConfiguration) lookup( ArchivaConfiguration.class, "test-save-user-defaults" );
+ ArchivaConfiguration archivaConfiguration = lookup( ArchivaConfiguration.class, "test-save-user-defaults" );
archivaConfiguration.reload( );