Skip to content

Commit

Permalink
Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase …
Browse files Browse the repository at this point in the history
…(#202)
  • Loading branch information
carusogabriel authored and prisis committed Nov 19, 2017
1 parent 30ceda8 commit 2626750
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Tests/IntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>
*/
class IntegrationTest extends \PHPUnit_Framework_TestCase
class IntegrationTest extends TestCase
{
/**
* @type CacheItemPoolInterface|HierarchicalPoolInterface
Expand Down
3 changes: 2 additions & 1 deletion Tests/NamespacedCachePoolTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@
namespace Cache\Namespaced\Tests;

use Cache\Namespaced\NamespacedCachePool;
use PHPUnit\Framework\TestCase;
use Psr\Cache\CacheItemInterface;

/**
* We should not use constants on interfaces in the tests. Tests should break if the constant is changed.
*
* @author Tobias Nyholm <[email protected]>
*/
class NamespacedCachePoolTest extends \PHPUnit_Framework_TestCase
class NamespacedCachePoolTest extends TestCase
{
/**
* @return \PHPUnit_Framework_MockObject_MockObject
Expand Down

0 comments on commit 2626750

Please sign in to comment.