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 cf1562999ec27bbe73c54df2be8aa054eaee04ad (commit)
from 458d9450ee34c6976146b91e79cfe3b594000788 (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=cf1562999ec27bbe73c54df2be8aa054eaee04ad
commit cf1562999ec27bbe73c54df2be8aa054eaee04ad
Author: Roland Mas <[email protected]>
Date: Wed Dec 9 17:02:29 2020 +0100
Try fixing testsuite
diff --git a/tests/func/10_Site/projectsTest.php
b/tests/func/10_Site/projectsTest.php
index 6d73e45..b335a17 100644
--- a/tests/func/10_Site/projectsTest.php
+++ b/tests/func/10_Site/projectsTest.php
@@ -64,7 +64,7 @@ class projectsTest extends FForge_SeleniumTestCase
$this->type("//textarea[@name='description']", "This is the
public description for ProjectA.");
$this->type("unix_name", "projecta");
$this->clickAndWait("//input[@name='scm' and @value='scmsvn']");
-
$this->assertFalse($this->isElementPresent("//select[@name='built_from_template']"));
+
$this->assertTrue($this->isElementPresent("//select[@name='built_from_template']"));
$this->clickAndWait("submit");
$this->waitForPageToLoad();
$this->assertTrue($this->isTextPresent("Your project has been
automatically approved"));
@@ -178,7 +178,7 @@ class projectsTest extends FForge_SeleniumTestCase
$this->waitForPageToLoad();
$this->clickAndWait("link=Register Project");
$this->waitForPageToLoad();
-
$this->assertFalse($this->isElementPresent("//select[@name='built_from_template']"));
+
$this->assertTrue($this->isElementPresent("//select[@name='built_from_template']"));
$this->type("full_name", "ProjectA");
$this->type("purpose", "This is a simple description for
ProjectA");
$this->type("//textarea[@name='description']", "This is the
public description for ProjectA.");
-----------------------------------------------------------------------
Summary of changes:
tests/func/10_Site/projectsTest.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits