]> source.dussan.org Git - archiva.git/commitdiff
more flexible test since it might have a newline in the middle
authorBrett Porter <brett@apache.org>
Tue, 10 Nov 2009 09:45:44 +0000 (09:45 +0000)
committerBrett Porter <brett@apache.org>
Tue, 10 Nov 2009 09:45:44 +0000 (09:45 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@834404 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp-test/src/test/testng/org/apache/archiva/web/test/ArchivaAdminTest.java

index 6366f919dcfae6ba8a31ae057f04ec38df022684..4b3bc18250ebbc27f145f06d946fed85058db1d2 100644 (file)
@@ -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" );