-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase …
…(#202)
- Loading branch information
1 parent
30ceda8
commit 2626750
Showing
2 changed files
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|