]> source.dussan.org Git - archiva.git/commitdiff
fix unit test which fail due to previous commit
authorOlivier Lamy <olamy@apache.org>
Sat, 10 Sep 2011 09:33:33 +0000 (09:33 +0000)
committerOlivier Lamy <olamy@apache.org>
Sat, 10 Sep 2011 09:33:33 +0000 (09:33 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1167482 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/admin/appearance/EditOrganisationInfoAction-validation.xml
archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/admin/appearance/EditOrganizationInfoActionTest.java

index 050d42f0afafc89d433b3da7c42ad29f13d6706e..bc3d556a3e01a8d9544513ca1e9472ce4945f8d2 100644 (file)
@@ -34,7 +34,7 @@
     </field>
     <field name="organisationUrl">
         <field-validator type="url">
-            <message>You must enter a URL</message>
+            <message>You must enter a URL.</message>
         </field-validator>
     </field>
     <field name="organisationLogo">
index 0f1ceb7aa85595be3eac2289329aebdda7dfeb5e..0e47db94754b96af244ac4b6f0b207394a3510e3 100644 (file)
@@ -174,11 +174,11 @@ public class EditOrganizationInfoActionTest
         expectedFieldErrors.put( "organisationName", expectedErrorMessages );
 
         expectedErrorMessages = new ArrayList<String>();
-        expectedErrorMessages.add( "You must enter a URL" );
+        expectedErrorMessages.add( "You must enter a URL." );
         expectedFieldErrors.put( "organisationUrl", expectedErrorMessages );
 
         expectedErrorMessages = new ArrayList<String>();
-        expectedErrorMessages.add( "You must enter a URL" );
+        expectedErrorMessages.add( "You must enter a URL for your logo." );
         expectedFieldErrors.put( "organisationLogo", expectedErrorMessages );
 
         ValidatorUtil.assertFieldErrors( expectedFieldErrors, fieldErrors );