From 69bdfb9db335de64d27b62838473485b2495388f Mon Sep 17 00:00:00 2001 From: David Maus <maus@hab.de> Date: Thu, 26 Jul 2012 09:27:14 +0200 Subject: [PATCH] Base existing tests on TestCase class --- module/VuFind/tests/Code/ISBNTest.php | 2 +- module/VuFind/tests/Config/ReaderTest.php | 2 +- module/VuFind/tests/Date/ConverterTest.php | 2 +- module/VuFind/tests/Solr/UtilsTest.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/module/VuFind/tests/Code/ISBNTest.php b/module/VuFind/tests/Code/ISBNTest.php index 022734aca7a..c2a1e5ebeb8 100644 --- a/module/VuFind/tests/Code/ISBNTest.php +++ b/module/VuFind/tests/Code/ISBNTest.php @@ -38,7 +38,7 @@ use VuFind\Code\ISBN; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link http://vufind.org/wiki/unit_tests Wiki */ -class ISBNTest extends \PHPUnit_Framework_TestCase +class ISBNTest extends \VuFind\Tests\TestCase { /** * Test Valid ISBN-10. diff --git a/module/VuFind/tests/Config/ReaderTest.php b/module/VuFind/tests/Config/ReaderTest.php index 4b21767b32e..1f96542ef81 100644 --- a/module/VuFind/tests/Config/ReaderTest.php +++ b/module/VuFind/tests/Config/ReaderTest.php @@ -38,7 +38,7 @@ use VuFind\Config\Reader; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link http://vufind.org/wiki/unit_tests Wiki */ -class ReaderTest extends \PHPUnit_Framework_TestCase +class ReaderTest extends \VuFind\Tests\TestCase { /** * Test basic config.ini loading. diff --git a/module/VuFind/tests/Date/ConverterTest.php b/module/VuFind/tests/Date/ConverterTest.php index 6da856f2fc2..51c3f75f8b5 100644 --- a/module/VuFind/tests/Date/ConverterTest.php +++ b/module/VuFind/tests/Date/ConverterTest.php @@ -38,7 +38,7 @@ use VuFind\Date\Converter, VuFind\Exception\Date as DateException, * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link http://www.vufind.org Main Page */ -class ConverterTest extends \PHPUnit_Framework_TestCase +class ConverterTest extends \VuFind\Tests\TestCase { protected $savedDateFormat = null; protected $savedTimeFormat = null; diff --git a/module/VuFind/tests/Solr/UtilsTest.php b/module/VuFind/tests/Solr/UtilsTest.php index 49ca801f911..2dc0621aef9 100644 --- a/module/VuFind/tests/Solr/UtilsTest.php +++ b/module/VuFind/tests/Solr/UtilsTest.php @@ -37,7 +37,7 @@ use VuFind\Solr\Utils; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link http://vufind.org/wiki/unit_tests Wiki */ -class UtilsTest extends \PHPUnit_Framework_TestCase +class UtilsTest extends \VuFind\Tests\TestCase { /** * Test capitalizeBooleans functionality. -- GitLab