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 28de8f8ad4363ab1ce263f32afda313db2569068 (commit)
from 043020dc7bc82652c9b2c7935b20bd93630a4a5a (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=28de8f8ad4363ab1ce263f32afda313db2569068
commit 28de8f8ad4363ab1ce263f32afda313db2569068
Author: Roland Mas <[email protected]>
Date: Tue Jul 30 16:29:36 2019 +0200
Porting to PHPUnit 7
diff --git a/tests/code/deprecations/DeprecationsTest.php
b/tests/code/deprecations/DeprecationsTest.php
index ac2187f..96d4c6e 100644
--- a/tests/code/deprecations/DeprecationsTest.php
+++ b/tests/code/deprecations/DeprecationsTest.php
@@ -10,7 +10,7 @@ require_once 'PHPUnit/Framework/TestCase.php';
* @copyright 2009 Roland Mas
* @license http://www.opensource.org/licenses/gpl-license.php GPL License
*/
-class Deprecations_Tests extends PHPUnit_Framework_TestCase
+class Deprecations_Tests extends PHPUnit\Framework\TestCase
{
/**
* Check that no code uses db_query() or db_mquery()
diff --git a/tests/code/syntax/SyntaxTest.php b/tests/code/syntax/SyntaxTest.php
index 96ca183..4487e79 100644
--- a/tests/code/syntax/SyntaxTest.php
+++ b/tests/code/syntax/SyntaxTest.php
@@ -10,7 +10,7 @@ require_once 'PHPUnit/Framework/TestCase.php';
* @copyright 2009 Alain Peyrat. All rights reserved.
* @license http://www.opensource.org/licenses/gpl-license.php GPL License
*/
-class Syntax_Tests extends PHPUnit_Framework_TestCase
+class Syntax_Tests extends PHPUnit\Framework\TestCase
{
/**
* First, make sure pcregrep is installed
diff --git a/tests/code_and_unit_tests.php b/tests/code_and_unit_tests.php
index 8625c41..9683737 100644
--- a/tests/code_and_unit_tests.php
+++ b/tests/code_and_unit_tests.php
@@ -18,8 +18,8 @@
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-if (!defined('PHPUnit_MAIN_METHOD')) {
- define('PHPUnit_MAIN_METHOD', 'AllTests::main');
+if (!defined('PHPUnit\MAIN_METHOD')) {
+ define('PHPUnit\MAIN_METHOD', 'AllTests::main');
}
if (!@include_once 'PHPUnit/Autoload.php') {
@@ -32,7 +32,7 @@ if (!@include_once 'PHPUnit/Autoload.php') {
class AllTests {
public static function main() {
- PHPUnit_TextUI_TestRunner::run(self::suite());
+ PHPUnit\TextUI\TestRunner::run(self::suite());
}
public static function suite() {
-----------------------------------------------------------------------
Summary of changes:
tests/code/deprecations/DeprecationsTest.php | 2 +-
tests/code/syntax/SyntaxTest.php | 2 +-
tests/code_and_unit_tests.php | 6 +++---
3 files changed, 5 insertions(+), 5 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits