From 242cfa1f9a54d92f025cf688b95761895603acf2 Mon Sep 17 00:00:00 2001 From: Brett Porter Date: Mon, 3 Oct 2011 01:56:43 +0000 Subject: add a patched version of Struts form template that corrects WW-3688 for URL validation, and re-enable appearance tests git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178285 13f79535-47bb-0310-9956-ffa450edef68 --- .../test/testng/org/apache/archiva/web/test/AppearanceTest.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'archiva-modules/archiva-web/archiva-webapp-test/src') diff --git a/archiva-modules/archiva-web/archiva-webapp-test/src/test/testng/org/apache/archiva/web/test/AppearanceTest.java b/archiva-modules/archiva-web/archiva-webapp-test/src/test/testng/org/apache/archiva/web/test/AppearanceTest.java index 1d2f7ad5f..4d4facf33 100644 --- a/archiva-modules/archiva-web/archiva-webapp-test/src/test/testng/org/apache/archiva/web/test/AppearanceTest.java +++ b/archiva-modules/archiva-web/archiva-webapp-test/src/test/testng/org/apache/archiva/web/test/AppearanceTest.java @@ -78,27 +78,25 @@ public class AppearanceTest assertTextPresent( "You must enter a URL for your logo." ); } - @Test(enabled = false) + @Test public void testAddAppearanceValidValues() { goToAppearancePage(); clickLinkWithText( "Edit" ); - // FIXME: not allowed this URL for the logo?! addEditAppearance( "The Apache Software Foundation", "http://www.apache.org/", "http://www.apache.org/images/asf_logo_wide.gifs", true ); assertTextPresent( "The Apache Software Foundation" ); } - @Test( dependsOnMethods = { "testAddAppearanceValidValues" }, enabled = false) + @Test( dependsOnMethods = { "testAddAppearanceValidValues" } ) public void testEditAppearance() { goToAppearancePage(); clickLinkWithText( "Edit" ); - // FIXME: not allowed this URL for the logo?! addEditAppearance( "Apache Software Foundation", "http://www.apache.org/", "http://www.apache.org/images/asf_logo_wide.gifs", true ); assertTextPresent( "Apache Software Foundation" ); } -} \ No newline at end of file +} -- cgit v1.2.3