[Fusionforge-commits] FusionForge branch master updated. cb3e3628476dcef70125b386d2f67ce1e09b551a

Franck VILLAUME nerville at fusionforge.org
Fri May 3 15:17:49 CEST 2013


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  cb3e3628476dcef70125b386d2f67ce1e09b551a (commit)
      from  5173ea77a74336fc82b4eb33a0f8742cd223fcd8 (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 cb3e3628476dcef70125b386d2f67ce1e09b551a
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Fri May 3 15:17:17 2013 +0200

    tests: fix search. project must be set visible

diff --git a/tests/func/Search/searchTest.php b/tests/func/Search/searchTest.php
index 855befa..6322ff3 100644
--- a/tests/func/Search/searchTest.php
+++ b/tests/func/Search/searchTest.php
@@ -1,6 +1,7 @@
 <?php
-/*
+/**
  * Copyright 2011, Roland Mas
+ * Copyright 2013, Franck Villaume - TrivialDev
  *
  * This file is part of FusionForge.
  *
@@ -513,6 +514,7 @@ class Search extends FForge_SeleniumTestCase
 		$this->waitForPageToLoad("30000");
 		$this->click ("//td/form/div[contains(.,'Trainee')]/../div/input[@value='Edit Permissions']") ;
 		$this->waitForPageToLoad("30000");
+		$this->select("//tr/td[.='Project visibility']/../td/select[contains(@name,'data[project_read]'))", "label=Visible");
 		$this->select("//tr/td[.='Bugs']/../td/select[contains(@name,'data[tracker]')]", "label=Read only");
 		$this->select("//tr/td[.='Patches']/../td/select[contains(@name,'data[tracker]')]", "label=No access");
 		$this->select("//tr/td[.='To Do']/../td/select[contains(@name,'data[pm]')]", "label=Read only");
@@ -527,6 +529,7 @@ class Search extends FForge_SeleniumTestCase
 		$this->waitForPageToLoad("30000");
 		$this->click ("//td/form/div[contains(.,'Anonymous')]/../div/input[@value='Edit Permissions']") ;
 		$this->waitForPageToLoad("30000");
+		$this->select("//tr/td[.='Project visibility']/../td/select[contains(@name,'data[project_read]'))", "label=Visible");
 		$this->select("//tr/td[.='Bugs']/../td/select[contains(@name,'data[tracker]')]", "label=No access");
 		$this->select("//tr/td[.='Patches']/../td/select[contains(@name,'data[tracker]')]", "label=No access");
 		$this->select("//tr/td[.='To Do']/../td/select[contains(@name,'data[pm]')]", "label=No access");

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

Summary of changes:
 tests/func/Search/searchTest.php |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list