aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-web/archiva-webapp-test/src
diff options
context:
space:
mode:
authorBrett Porter <brett@apache.org>2011-10-03 01:56:43 +0000
committerBrett Porter <brett@apache.org>2011-10-03 01:56:43 +0000
commit242cfa1f9a54d92f025cf688b95761895603acf2 (patch)
tree401d1a5b0ccd813469d41c4f03c97b5257f3b0aa /archiva-modules/archiva-web/archiva-webapp-test/src
parentea1e15a65d797983954ee88f87944bb3ed11303d (diff)
downloadarchiva-242cfa1f9a54d92f025cf688b95761895603acf2.tar.gz
archiva-242cfa1f9a54d92f025cf688b95761895603acf2.zip
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
Diffstat (limited to 'archiva-modules/archiva-web/archiva-webapp-test/src')
-rw-r--r--archiva-modules/archiva-web/archiva-webapp-test/src/test/testng/org/apache/archiva/web/test/AppearanceTest.java8
1 files changed, 3 insertions, 5 deletions
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
+}