[Fusionforge-commits] r14570 - in branches/Branch_5_1: . tests/func/Search

Roland Mas lolando at fusionforge.org
Fri Oct 7 16:31:04 CEST 2011


Author: lolando
Date: 2011-10-07 16:31:04 +0200 (Fri, 07 Oct 2011)
New Revision: 14570

Modified:
   branches/Branch_5_1/
   branches/Branch_5_1/tests/func/Search/searchTest.php
Log:
Fix two test cases

Modified: branches/Branch_5_1/tests/func/Search/searchTest.php
===================================================================
--- branches/Branch_5_1/tests/func/Search/searchTest.php	2011-10-07 14:30:54 UTC (rev 14569)
+++ branches/Branch_5_1/tests/func/Search/searchTest.php	2011-10-07 14:31:04 UTC (rev 14570)
@@ -239,7 +239,7 @@
 		$this->assertFalse($this->isTextPresent("Task1"));
 
 		$this->select("type_of_search", "label=This project's tasks");
-		$this->type("//input[@name='words']", "brain pinky");
+		$this->type("//input[@name='words']", "brain pinky needle");
 		$this->clickAndWait("//input[@name='Search']");
 		$this->assertFalse($this->isTextPresent("No matches found for"));
 		$this->assertTrue($this->isTextPresent("Task1"));
@@ -323,7 +323,7 @@
 		$this->clickAndWait("//input[@name='Search']");
 		$this->assertFalse($this->isTextPresent("No matches found for"));
 		$this->assertTrue($this->isTextPresent("Doc1"));
-		$this->assertTrue($this->isTextPresent("Doc2"));
+		$this->assertFalse($this->isTextPresent("Doc2"));
 
 		// Create some news
 




More information about the Fusionforge-commits mailing list