[Fusionforge-commits] FusionForge branch Branch_5_1 updated. 8c437df000eab1d93c0e14cef363e3e9c875b6c9

Thorsten Glaser mirabilos at fusionforge.org
Thu Nov 8 13:40:19 CET 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, Branch_5_1 has been updated
       via  8c437df000eab1d93c0e14cef363e3e9c875b6c9 (commit)
      from  27ee476b7e0a95fea2ee4262e0516812a7fb62e1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 8c437df000eab1d93c0e14cef363e3e9c875b6c9
Author: Thorsten Glaser <tg at mirbsd.org>
Date:   Thu Nov 8 13:39:23 2012 +0100

    someone added an ‘s’ too much

diff --git a/tests/func/Site/loginTest.php b/tests/func/Site/loginTest.php
index 4d15de1..14676cf 100755
--- a/tests/func/Site/loginTest.php
+++ b/tests/func/Site/loginTest.php
@@ -9,7 +9,7 @@
  * it under the terms of the GNU General Public License as published
  * by the Free Software Foundation; either version 2 of the License,
  * or (at your option) any later version.
- * 
+ *
  * FusionForge is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
@@ -62,7 +62,7 @@ class LoginProcess extends FForge_SeleniumTestCase
 		$location=$this->getLocation();
 		$url_regexp = str_replace('.', '\.', HOST);
 		$url_regexp = '/https?:\/\/'. $url_regexp .'\//';
-		$this->assertRegExp($url_regexp, $location, 
+		$this->assertRegExp($url_regexp, $location,
 				    "You may need to set 'HOST' setting in test suite's config file to something compatible with 'web_host' defined in ini file");
 
 		$this->type("form_loginname", FORGE_ADMIN_USERNAME);
@@ -74,7 +74,7 @@ class LoginProcess extends FForge_SeleniumTestCase
 		$this->logout();
 		// Verify that logout is succesfull
 		$this->assertTrue($this->isTextPresent("Log In"));
-	
+
 		// Test with an empty password.
 		$this->open( ROOT );
 		$this->click("link=Log In");
@@ -83,10 +83,10 @@ class LoginProcess extends FForge_SeleniumTestCase
 		$this->type("form_pw", "");
 		$this->click("login");
 		$this->waitForPageToLoad("30000");
-		$this->assertTrue($this->isTextPresent("Missing Password Or Users Name"));
+		$this->assertTrue($this->isTextPresent("Missing Password Or User Name"));
 		$this->assertFalse($this->isTextPresent("Forge Admin"));
 		$this->assertTrue($this->isTextPresent("Log In"));
-		
+
 		// Test with a wrong password.
 		$this->open( ROOT );
 		$this->click("link=Log In");
@@ -98,7 +98,7 @@ class LoginProcess extends FForge_SeleniumTestCase
 		$this->assertTrue($this->isTextPresent("Invalid Password Or User Name"));
 		$this->assertFalse($this->isTextPresent("Forge Admin"));
 		$this->assertTrue($this->isTextPresent("Log In"));
-		
+
 		// Test factored code.
 		$this->login(FORGE_ADMIN_USERNAME);
 		$this->assertTrue($this->isTextPresent("Forge Admin"));
@@ -125,12 +125,10 @@ class LoginProcess extends FForge_SeleniumTestCase
 		$this->assertTrue($this->isTextPresent("Log Out"));
 	}
 
-	
+
 }
 
 // Local Variables:
 // mode: php
 // c-file-style: "bsd"
 // End:
-
-?>

-----------------------------------------------------------------------

Summary of changes:
 tests/func/Site/loginTest.php |   16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list