From 15498f8a3f0ab3dd5a2e2f7c465499c49cc7059e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Pr=C3=A9vot?= Date: Wed, 29 Nov 2017 21:03:55 -1000 Subject: [PATCH] Move to namespaced phpunit versions Debian-Bug: https://bugs.debian.org/882908 --- 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 @@ * @author Arne Blankerts * @copyright Arne Blankerts , 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 * @copyright Arne Blankerts , All rights reserved. */ - class PHPFilterIteratorTest extends \PHPUnit_Framework_TestCase { + class PHPFilterIteratorTest extends TestCase { public function testNonPHPFile() { $list = new \ArrayIterator(