dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "build: Updating mediawiki/mediawiki-codesniffer to 16.0.0"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
objectcache
/
RedisBagOStuffTest.php
diff --git
a/tests/phpunit/includes/objectcache/RedisBagOStuffTest.php
b/tests/phpunit/includes/objectcache/RedisBagOStuffTest.php
index
705a34a
..
df5614d
100644
(file)
--- a/
tests/phpunit/includes/objectcache/RedisBagOStuffTest.php
+++ b/
tests/phpunit/includes/objectcache/RedisBagOStuffTest.php
@@
-1,14
+1,20
@@
<?php
<?php
+
+use Wikimedia\TestingAccessWrapper;
+
/**
* @group BagOStuff
*/
/**
* @group BagOStuff
*/
-class RedisBagOStuffTest extends PHPUnit_Framework_TestCase {
+class RedisBagOStuffTest extends PHPUnit\Framework\TestCase {
+
+ use MediaWikiCoversValidator;
+
/** @var RedisBagOStuff */
private $cache;
protected function setUp() {
parent::setUp();
/** @var RedisBagOStuff */
private $cache;
protected function setUp() {
parent::setUp();
- $cache = $this->getMockBuilder(
'RedisBagOStuff'
)
+ $cache = $this->getMockBuilder(
RedisBagOStuff::class
)
->disableOriginalConstructor()
->getMock();
$this->cache = TestingAccessWrapper::newFromObject( $cache );
->disableOriginalConstructor()
->getMock();
$this->cache = TestingAccessWrapper::newFromObject( $cache );