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 1cdfd7a60d49a37091c75a0df9cb74fad9730a02 (commit)
from 2d24a0c5468fba729ecb9e12e3ff3c0ad6dda14d (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=1cdfd7a60d49a37091c75a0df9cb74fad9730a02
commit 1cdfd7a60d49a37091c75a0df9cb74fad9730a02
Author: Roland Mas <[email protected]>
Date: Thu Dec 3 16:44:19 2020 +0100
Try fixing testsuite
diff --git a/tests/func/SeleniumForge.php b/tests/func/SeleniumForge.php
index 07da7ae..3a14a20 100644
--- a/tests/func/SeleniumForge.php
+++ b/tests/func/SeleniumForge.php
@@ -159,8 +159,7 @@ class FForge_SeleniumTestCase extends
PHPUnit\Extensions\Selenium2TestCase
}
}
-
- public function changeConfig($config) {
+ public function changeConfig($config = array()) {
$config_path = rtrim(`forge_get_config config_path`);
$classname = get_class($this);
@@ -171,7 +170,7 @@ class FForge_SeleniumTestCase extends
PHPUnit\Extensions\Selenium2TestCase
$contents .= "$variable = $value\n";
}
}
-
+
file_put_contents("$config_path/config.ini.d/zzz-buildbot-$classname.ini",
$contents);
}
-----------------------------------------------------------------------
Summary of changes:
tests/func/SeleniumForge.php | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits