summaryrefslogtreecommitdiffstats
path: root/tests/lib/IntegrityCheck/CheckerTest.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-09-07 20:07:44 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2016-09-07 20:42:37 +0200
commitba3a90d30c2079a370d66bb9a143174d14cd48bc (patch)
tree8b85c490e4e79990fa2a074a8d7e3609f6952fd6 /tests/lib/IntegrityCheck/CheckerTest.php
parent97f6410ac8561bbea2ea806bc6f23f67bef985e4 (diff)
downloadnextcloud-server-ba3a90d30c2079a370d66bb9a143174d14cd48bc.tar.gz
nextcloud-server-ba3a90d30c2079a370d66bb9a143174d14cd48bc.zip
Fix getMock checkertest
Diffstat (limited to 'tests/lib/IntegrityCheck/CheckerTest.php')
-rw-r--r--tests/lib/IntegrityCheck/CheckerTest.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/lib/IntegrityCheck/CheckerTest.php b/tests/lib/IntegrityCheck/CheckerTest.php
index 6e6095668b0..d67f1382dc9 100644
--- a/tests/lib/IntegrityCheck/CheckerTest.php
+++ b/tests/lib/IntegrityCheck/CheckerTest.php
@@ -51,12 +51,12 @@ class CheckerTest extends TestCase {
public function setUp() {
parent::setUp();
- $this->environmentHelper = $this->getMock('\OC\IntegrityCheck\Helpers\EnvironmentHelper');
- $this->fileAccessHelper = $this->getMock('\OC\IntegrityCheck\Helpers\FileAccessHelper');
- $this->appLocator = $this->getMock('\OC\IntegrityCheck\Helpers\AppLocator');
- $this->config = $this->getMock('\OCP\IConfig');
- $this->cacheFactory = $this->getMock('\OCP\ICacheFactory');
- $this->appManager = $this->getMock('\OCP\App\IAppManager');
+ $this->environmentHelper = $this->createMock(EnvironmentHelper::class);
+ $this->fileAccessHelper = $this->createMock(FileAccessHelper::class);
+ $this->appLocator = $this->createMock(AppLocator::class);
+ $this->config = $this->createMock(IConfig::class);
+ $this->cacheFactory = $this->createMock(ICacheFactory::class);
+ $this->appManager = $this->createMock(IAppManager::class);
$this->cacheFactory
->expects($this->any())