mirror of https://github.com/apache/archiva.git
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:
parent
1a122b92b7
commit
f761a154b8
|
@ -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">
|
||||
|
|
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue