summaryrefslogtreecommitdiffstats
path: root/archiva-modules
diff options
context:
space:
mode:
authorBrett Porter <brett@apache.org>2009-11-10 09:45:44 +0000
committerBrett Porter <brett@apache.org>2009-11-10 09:45:44 +0000
commit737ef895801965e29e5caa7f1bb20585d6242433 (patch)
treee21022b0f2508a5bb383c2d556bb8cdc06d41af7 /archiva-modules
parent2e46d0022f865e268ca90c2ccb18efaeec02d9ec (diff)
downloadarchiva-737ef895801965e29e5caa7f1bb20585d6242433.tar.gz
archiva-737ef895801965e29e5caa7f1bb20585d6242433.zip
more flexible test since it might have a newline in the middle
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@834404 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules')
-rw-r--r--archiva-modules/archiva-web/archiva-webapp-test/src/test/testng/org/apache/archiva/web/test/ArchivaAdminTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/archiva-modules/archiva-web/archiva-webapp-test/src/test/testng/org/apache/archiva/web/test/ArchivaAdminTest.java b/archiva-modules/archiva-web/archiva-webapp-test/src/test/testng/org/apache/archiva/web/test/ArchivaAdminTest.java
index 6366f919d..4b3bc1825 100644
--- a/archiva-modules/archiva-web/archiva-webapp-test/src/test/testng/org/apache/archiva/web/test/ArchivaAdminTest.java
+++ b/archiva-modules/archiva-web/archiva-webapp-test/src/test/testng/org/apache/archiva/web/test/ArchivaAdminTest.java
@@ -55,7 +55,7 @@ public class ArchivaAdminTest
super.open( baseUrl, browser, seleniumHost, seleniumPort );
getSelenium().open( baseUrl );
String title = getSelenium().getTitle();
- if ( title.equals( "Apache Archiva \\ Create Admin User" ) )
+ if ( title.endsWith( "Create Admin User" ) )
{
assertCreateAdmin();
String fullname = getProperty( "ADMIN_FULLNAME" );