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  0ac4dde98f27581623c48f02e1be26454a36a464 (commit)
      from  0b035f26f092e7eb9cca3d8d4a04a01bc2786487 (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=0ac4dde98f27581623c48f02e1be26454a36a464

commit 0ac4dde98f27581623c48f02e1be26454a36a464
Author: Franck Villaume <[email protected]>
Date:   Wed Dec 14 17:51:48 2016 +0100

    fix pending doc test

diff --git a/tests/func/20_Docs/createDocURLTest.php 
b/tests/func/20_Docs/createDocURLTest.php
index 940a694..301fd0b 100644
--- a/tests/func/20_Docs/createDocURLTest.php
+++ b/tests/func/20_Docs/createDocURLTest.php
@@ -132,10 +132,9 @@ class CreateDocURL extends FForge_SeleniumTestCase {
                $this->click("css=img[alt='editdocument']");
                $this->pause("10000");
                $this->assertTextPresent("1 (x)");
-               //TODO: to be fixed
-               //$this->select('id=stateid', 'label=pending');
-               //$this->clickAndWait("xpath=(//button[@type='button'])[4]");
-               //$this->assertTextPresent("Pending files");
-               //$this->assertTextPresent("terms.php");
+               $this->select('id=stateid', 'label=pending');
+               $this->clickAndWait("xpath=(//button[@type='button'])[3]");
+               $this->assertTextPresent("updated successfully");
+               $this->assertTextPresent("Pending files");
        }
 }

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

Summary of changes:
 tests/func/20_Docs/createDocURLTest.php | 9 ++++-----
 1 file changed, 4 insertions(+), 5 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