diff options
author | Olivier Lamy <olamy@apache.org> | 2012-02-29 19:46:04 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2012-02-29 19:46:04 +0000 |
commit | 547e68a6e8f84bf762baa61e1adae8a793ddc875 (patch) | |
tree | 726423247d2ceaf900753e20285d44006704d0ed /archiva-modules/archiva-base/archiva-configuration | |
parent | e257441e6ebe12b94d59c39404d8501392e6ad0c (diff) | |
download | archiva-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.java | 6 |
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( ); |