fix unit test which fail due to previous commit

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1167482 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2011-09-10 09:33:33 +00:00
parent 1a122b92b7
commit f761a154b8
2 changed files with 3 additions and 3 deletions

View 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">

View 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 );