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 043020dc7bc82652c9b2c7935b20bd93630a4a5a (commit)
from 7e3782e4de2e68d9ea232a1553ef6e36bb125c0c (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=043020dc7bc82652c9b2c7935b20bd93630a4a5a
commit 043020dc7bc82652c9b2c7935b20bd93630a4a5a
Author: Roland Mas <[email protected]>
Date: Tue Jul 30 16:27:25 2019 +0200
Porting to PHPUnit 7
diff --git a/tests/unit/common/account.php b/tests/unit/common/account.php
index e746619..845a0b7 100644
--- a/tests/unit/common/account.php
+++ b/tests/unit/common/account.php
@@ -25,7 +25,7 @@ require_once dirname(__FILE__) .
'/../../../src/common/include/account.php';
require_once dirname(__FILE__) . '/../../../src/common/include/utils.php';
require_once dirname(__FILE__) . '/../../../src/common/include/config.php';
-class Account_Tests extends PHPUnit_Framework_TestCase
+class Account_Tests extends PHPUnit\Framework\TestCase
{
public function test_account_gensalt()
{
diff --git a/tests/unit/config/ConfigTest.php b/tests/unit/config/ConfigTest.php
index d9c39c0..b731195 100644
--- a/tests/unit/config/ConfigTest.php
+++ b/tests/unit/config/ConfigTest.php
@@ -11,7 +11,7 @@ require_once dirname(__FILE__) .
'/../../../src/common/include/config.php';
* @copyright 2009 Roland Mas
* @license GPL License
*/
-class Config_Tests extends PHPUnit_Framework_TestCase
+class Config_Tests extends PHPUnit\Framework\TestCase
{
/**
* test basic config getting
diff --git a/tests/unit/utils/DbUtilsTest.php b/tests/unit/utils/DbUtilsTest.php
index e01d5eb..d24c678 100644
--- a/tests/unit/utils/DbUtilsTest.php
+++ b/tests/unit/utils/DbUtilsTest.php
@@ -30,7 +30,7 @@ require_once dirname(__FILE__) .
'/../../../src/common/include/database-pgsql.ph
* @copyright 2009 Alain Peyrat. All rights reserved.
* @license GPL License
*/
-class Database_Utils_Tests extends PHPUnit_Framework_TestCase
+class Database_Utils_Tests extends PHPUnit\Framework\TestCase
{
/**
* test the validate_hostname function.
diff --git a/tests/unit/utils/HtmlPurifierTest.php
b/tests/unit/utils/HtmlPurifierTest.php
index 73fadc4..1d1b1e2 100644
--- a/tests/unit/utils/HtmlPurifierTest.php
+++ b/tests/unit/utils/HtmlPurifierTest.php
@@ -29,7 +29,7 @@ require_once 'PHPUnit/Framework/TestCase.php';
* @copyright 2009 Olivier Berger & Institut TELECOM
* @license GPL License
*/
-class HtmlPurifier_Tests extends PHPUnit_Framework_TestCase
+class HtmlPurifier_Tests extends PHPUnit\Framework\TestCase
{
/**
* Test that include of lib doesn't fail, otherwise give some hint on
missing package
@@ -43,7 +43,7 @@ class HtmlPurifier_Tests extends PHPUnit_Framework_TestCase
include 'HTMLPurifier.auto.php';
}
- catch (PHPUnit_Framework_Error $expected) {
+ catch (PHPUnit\Framework\Error $expected) {
$this->fail('You probably need to install htmlpurifier :
'.$expected->getMessage());
return;
}
diff --git a/tests/unit/utils/TextSanitizerTest.php
b/tests/unit/utils/TextSanitizerTest.php
index c6ef539..ad034ed 100644
--- a/tests/unit/utils/TextSanitizerTest.php
+++ b/tests/unit/utils/TextSanitizerTest.php
@@ -31,7 +31,7 @@ require_once dirname(__FILE__) .
'/../../../src/common/include/TextSanitizer.cla
* @copyright 2009 Alain Peyrat. All rights reserved.
* @license GPL License
*/
-class TextSanitizerTests extends PHPUnit_Framework_TestCase
+class TextSanitizerTests extends PHPUnit\Framework\TestCase
{
protected $s;
diff --git a/tests/unit/utils/UtilsTest.php b/tests/unit/utils/UtilsTest.php
index b058f75..0e68572 100644
--- a/tests/unit/utils/UtilsTest.php
+++ b/tests/unit/utils/UtilsTest.php
@@ -31,7 +31,7 @@ require_once dirname(dirname(__FILE__)) .
'/../../src/common/include/escapingUti
* @copyright 2009 Alain Peyrat. All rights reserved.
* @license GPL License
*/
-class Utils_Tests extends PHPUnit_Framework_TestCase
+class Utils_Tests extends PHPUnit\Framework\TestCase
{
/**
* test the validate_email function.
-----------------------------------------------------------------------
Summary of changes:
tests/unit/common/account.php | 2 +-
tests/unit/config/ConfigTest.php | 2 +-
tests/unit/utils/DbUtilsTest.php | 2 +-
tests/unit/utils/HtmlPurifierTest.php | 4 ++--
tests/unit/utils/TextSanitizerTest.php | 2 +-
tests/unit/utils/UtilsTest.php | 2 +-
6 files changed, 7 insertions(+), 7 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits