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(
