Skip to content

Commit 2626750

Browse files
carusogabrielprisis
authored andcommitted
Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase (#202)
1 parent 30ceda8 commit 2626750

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Tests/IntegrationTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@
1515
use Cache\Hierarchy\HierarchicalPoolInterface;
1616
use Cache\Namespaced\NamespacedCachePool;
1717
use Memcached;
18+
use PHPUnit\Framework\TestCase;
1819
use Psr\Cache\CacheItemPoolInterface;
1920

2021
/**
2122
* @author Tobias Nyholm <[email protected]>
2223
*/
23-
class IntegrationTest extends \PHPUnit_Framework_TestCase
24+
class IntegrationTest extends TestCase
2425
{
2526
/**
2627
* @type CacheItemPoolInterface|HierarchicalPoolInterface

Tests/NamespacedCachePoolTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,15 @@
1212
namespace Cache\Namespaced\Tests;
1313

1414
use Cache\Namespaced\NamespacedCachePool;
15+
use PHPUnit\Framework\TestCase;
1516
use Psr\Cache\CacheItemInterface;
1617

1718
/**
1819
* We should not use constants on interfaces in the tests. Tests should break if the constant is changed.
1920
*
2021
* @author Tobias Nyholm <[email protected]>
2122
*/
22-
class NamespacedCachePoolTest extends \PHPUnit_Framework_TestCase
23+
class NamespacedCachePoolTest extends TestCase
2324
{
2425
/**
2526
* @return \PHPUnit_Framework_MockObject_MockObject

0 commit comments

Comments
 (0)