From f761a154b8536447bb569b3705340788421115a0 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Sat, 10 Sep 2011 09:33:33 +0000 Subject: [PATCH] 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 --- .../appearance/EditOrganisationInfoAction-validation.xml | 2 +- .../admin/appearance/EditOrganizationInfoActionTest.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 ); -- 2.39.5