From: Olivier Lamy Date: Sat, 10 Sep 2011 09:33:33 +0000 (+0000) Subject: fix unit test which fail due to previous commit X-Git-Tag: archiva-1.4-M1~330 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f761a154b8536447bb569b3705340788421115a0;p=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 --- diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/admin/appearance/EditOrganisationInfoAction-validation.xml b/archiva-modules/archiva-web/archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/admin/appearance/EditOrganisationInfoAction-validation.xml index 050d42f0a..bc3d556a3 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/admin/appearance/EditOrganisationInfoAction-validation.xml +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/admin/appearance/EditOrganisationInfoAction-validation.xml @@ -34,7 +34,7 @@ - You must enter a URL + You must enter a URL. diff --git a/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/admin/appearance/EditOrganizationInfoActionTest.java b/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/admin/appearance/EditOrganizationInfoActionTest.java index 0f1ceb7aa..0e47db947 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/admin/appearance/EditOrganizationInfoActionTest.java +++ b/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/admin/appearance/EditOrganizationInfoActionTest.java @@ -174,11 +174,11 @@ public class EditOrganizationInfoActionTest expectedFieldErrors.put( "organisationName", expectedErrorMessages ); expectedErrorMessages = new ArrayList(); - expectedErrorMessages.add( "You must enter a URL" ); + expectedErrorMessages.add( "You must enter a URL." ); expectedFieldErrors.put( "organisationUrl", expectedErrorMessages ); expectedErrorMessages = new ArrayList(); - 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 );