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, 6.1 has been updated
via d11b0e991af9e6db999c31a854aa3cf4545f3c33 (commit)
from b3e9eb174c69eccc1d7c662018d7b796d421399b (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=d11b0e991af9e6db999c31a854aa3cf4545f3c33
commit d11b0e991af9e6db999c31a854aa3cf4545f3c33
Author: Roland Mas <[email protected]>
Date: Thu Dec 3 18:04:44 2020 +0100
Try fixing testsuite
diff --git a/tests/func/10_Site/loginTest.php b/tests/func/10_Site/loginTest.php
index eb5e9af..5d413f0 100644
--- a/tests/func/10_Site/loginTest.php
+++ b/tests/func/10_Site/loginTest.php
@@ -45,8 +45,11 @@
require_once dirname(dirname(__FILE__)).'/SeleniumForge.php';
-class LoginProcess extends FForge_SeleniumTestCase
+class loginTest extends FForge_SeleniumTestCase
{
+ /**
+ * @test
+ */
function testLogin()
{
// Test with a normal login.
diff --git a/tests/func/SeleniumForge.php b/tests/func/SeleniumForge.php
index 080fe61..9dcf791 100644
--- a/tests/func/SeleniumForge.php
+++ b/tests/func/SeleniumForge.php
@@ -241,7 +241,7 @@ abstract class FForge_SeleniumTestCase extends
PHPUnit\Extensions\Selenium2TestC
ob_flush();
}
- function runCommandTimeout($dir, $command, $env='') {
+ protected function runCommandTimeout($dir, $command, $env='') {
# Disable timeout so we have a chance to gdb the stalled
process:
#$cmd = "cd $dir && $env timeout 15s $command";
$cmd = "cd $dir && $env $command";
-----------------------------------------------------------------------
Summary of changes:
tests/func/10_Site/loginTest.php | 5 ++++-
tests/func/SeleniumForge.php | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits