From 26267502cd20233f51cdfd58975be210374240e9 Mon Sep 17 00:00:00 2001 From: Gabriel Caruso Date: Sun, 19 Nov 2017 09:08:05 -0200 Subject: [PATCH] Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase (#202) --- Tests/IntegrationTest.php | 3 ++- Tests/NamespacedCachePoolTest.php | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Tests/IntegrationTest.php b/Tests/IntegrationTest.php index dac4b43..ce12792 100644 --- a/Tests/IntegrationTest.php +++ b/Tests/IntegrationTest.php @@ -15,12 +15,13 @@ use Cache\Hierarchy\HierarchicalPoolInterface; use Cache\Namespaced\NamespacedCachePool; use Memcached; +use PHPUnit\Framework\TestCase; use Psr\Cache\CacheItemPoolInterface; /** * @author Tobias Nyholm */ -class IntegrationTest extends \PHPUnit_Framework_TestCase +class IntegrationTest extends TestCase { /** * @type CacheItemPoolInterface|HierarchicalPoolInterface diff --git a/Tests/NamespacedCachePoolTest.php b/Tests/NamespacedCachePoolTest.php index 2f50fc7..f4894dd 100644 --- a/Tests/NamespacedCachePoolTest.php +++ b/Tests/NamespacedCachePoolTest.php @@ -12,6 +12,7 @@ namespace Cache\Namespaced\Tests; use Cache\Namespaced\NamespacedCachePool; +use PHPUnit\Framework\TestCase; use Psr\Cache\CacheItemInterface; /** @@ -19,7 +20,7 @@ * * @author Tobias Nyholm */ -class NamespacedCachePoolTest extends \PHPUnit_Framework_TestCase +class NamespacedCachePoolTest extends TestCase { /** * @return \PHPUnit_Framework_MockObject_MockObject