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, master has been updated
       via  58cffad45a9efccf03f7b4ee6cf2813c6c206be4 (commit)
      from  6191d38c32f148608cb236b65876fe0f80706e28 (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 -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=58cffad45a9efccf03f7b4ee6cf2813c6c206be4

commit 58cffad45a9efccf03f7b4ee6cf2813c6c206be4
Author: Roland Mas <[email protected]>
Date:   Tue May 3 23:12:35 2016 +0200

    Use more discriminating tests

diff --git a/tests/func/30_Search/searchTest.php 
b/tests/func/30_Search/searchTest.php
index 4d32bd2..0752eda 100644
--- a/tests/func/30_Search/searchTest.php
+++ b/tests/func/30_Search/searchTest.php
@@ -653,7 +653,7 @@ class Search extends FForge_SeleniumTestCase
                // Also test project search based on tags
                $this->createAndGoto('projectc');
                $this->clickAndWait("link=Admin");
-               $this->type("//textarea[@name='form_shortdesc']","Coding hôtels 
Iiİı");
+               $this->type("//textarea[@name='form_shortdesc']","This is the 
public description for projectc. It's about Coding hôtels Iiİı.");
                $this->type("//input[@name='form_tags']","Goldorak");
                $this->clickAndWait("//input[@name='submit']");
 
@@ -662,50 +662,50 @@ class Search extends FForge_SeleniumTestCase
                $this->open(ROOT) ;
                $this->type("//input[@name='words']", "coded");
                $this->clickAndWait("//input[@name='Search']");
-               $this->assertFalse($this->isTextPresent("projectc"));
+               $this->assertFalse($this->isTextPresent("public description for 
projectc"));
                
                $this->open(ROOT) ;
                $this->type("//input[@name='words']", "goldorak");
                $this->clickAndWait("//input[@name='Search']");
-               $this->assertTrue($this->isTextPresent("projectc"));
+               $this->assertTrue($this->isTextPresent("public description for 
projectc"));
                
                $this->open(ROOT) ;
                $this->type("//input[@name='words']", "hotel");
                $this->clickAndWait("//input[@name='Search']");
-               $this->assertFalse($this->isTextPresent("projectc"));
+               $this->assertFalse($this->isTextPresent("public description for 
projectc"));
                
                // In English, accents are removed and coding==coded
                
$this->runCommand(dirname(__FILE__).'/../../../src/bin/configure-fti-search.php 
english');
                $this->open(ROOT) ;
                $this->type("//input[@name='words']", "coded");
                $this->clickAndWait("//input[@name='Search']");
-               $this->assertTrue($this->isTextPresent("projectc"));
+               $this->assertTrue($this->isTextPresent("public description for 
projectc"));
                
                $this->open(ROOT) ;
                $this->type("//input[@name='words']", "goldorak");
                $this->clickAndWait("//input[@name='Search']");
-               $this->assertTrue($this->isTextPresent("projectc"));
+               $this->assertTrue($this->isTextPresent("public description for 
projectc"));
                
                $this->open(ROOT) ;
                $this->type("//input[@name='words']", "hotel");
                $this->clickAndWait("//input[@name='Search']");
-               $this->assertTrue($this->isTextPresent("projectc"));
+               $this->assertTrue($this->isTextPresent("public description for 
projectc"));
                
                // In French, accents are removed but coding==coded
                
$this->runCommand(dirname(__FILE__).'/../../../src/bin/configure-fti-search.php 
french');
                $this->open(ROOT) ;
                $this->type("//input[@name='words']", "coded");
                $this->clickAndWait("//input[@name='Search']");
-               $this->assertFalse($this->isTextPresent("projectc"));
+               $this->assertFalse($this->isTextPresent("public description for 
projectc"));
                
                $this->open(ROOT) ;
                $this->type("//input[@name='words']", "goldorak");
                $this->clickAndWait("//input[@name='Search']");
-               $this->assertTrue($this->isTextPresent("projectc"));
+               $this->assertTrue($this->isTextPresent("public description for 
projectc"));
                
                $this->open(ROOT) ;
                $this->type("//input[@name='words']", "hotel");
                $this->clickAndWait("//input[@name='Search']");
-               $this->assertTrue($this->isTextPresent("projectc"));
+               $this->assertTrue($this->isTextPresent("public description for 
projectc"));
 }
 }

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

Summary of changes:
 tests/func/30_Search/searchTest.php | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to