1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
|
From: =?utf-8?q?David_Pr=C3=A9vot?= <david@tilapin.org>
Date: Wed, 29 Nov 2017 21:03:55 -1000
Subject: Move to namespaced phpunit versions
Debian-Bug: https://bugs.debian.org/882908
Forwarded: https://github.com/theseer/DirectoryScanner/pull/8
---
tests/directoryscanner.test.php | 3 ++-
tests/phpfilter.test.php | 4 +++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/tests/directoryscanner.test.php b/tests/directoryscanner.test.php
index 403aa06..5edca05 100644
--- a/tests/directoryscanner.test.php
+++ b/tests/directoryscanner.test.php
@@ -37,6 +37,7 @@
namespace TheSeer\DirectoryScanner\Tests {
+ use PHPUnit\Framework\TestCase;
use TheSeer\DirectoryScanner\DirectoryScanner;
/**
@@ -45,7 +46,7 @@ namespace TheSeer\DirectoryScanner\Tests {
* @author Arne Blankerts <arne@blankerts.de>
* @copyright Arne Blankerts <arne@blankerts.de>, All rights reserved.
*/
- class DirectoryScannerTest extends \PHPUnit_Framework_TestCase {
+ class DirectoryScannerTest extends TestCase {
/**
* Test if enabling following symbolic links works.
diff --git a/tests/phpfilter.test.php b/tests/phpfilter.test.php
index fc518c6..b40b5cc 100644
--- a/tests/phpfilter.test.php
+++ b/tests/phpfilter.test.php
@@ -37,13 +37,15 @@
namespace TheSeer\DirectoryScanner\Tests {
+ use PHPUnit\Framework\TestCase;
+
/**
* Unit tests for PHPFilter iterator class
*
* @author Arne Blankerts <arne@blankerts.de>
* @copyright Arne Blankerts <arne@blankerts.de>, All rights reserved.
*/
- class PHPFilterIteratorTest extends \PHPUnit_Framework_TestCase {
+ class PHPFilterIteratorTest extends TestCase {
public function testNonPHPFile() {
$list = new \ArrayIterator(
|