summaryrefslogtreecommitdiffstats
path: root/tests/lib/OCS
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/OCS')
-rw-r--r--tests/lib/OCS/DiscoveryServiceTest.php2
-rw-r--r--tests/lib/OCS/ProviderTest.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/OCS/DiscoveryServiceTest.php b/tests/lib/OCS/DiscoveryServiceTest.php
index cbdde7bc313..710d683841f 100644
--- a/tests/lib/OCS/DiscoveryServiceTest.php
+++ b/tests/lib/OCS/DiscoveryServiceTest.php
@@ -39,7 +39,7 @@ class DiscoveryServiceTest extends TestCase {
/** @var IDiscoveryService */
private $discoveryService;
- public function setUp(): void {
+ protected function setUp(): void {
parent::setUp();
$this->cacheFactory = $this->getMockBuilder(ICacheFactory::class)->getMock();
diff --git a/tests/lib/OCS/ProviderTest.php b/tests/lib/OCS/ProviderTest.php
index 4f962f7f791..7ee802e54fb 100644
--- a/tests/lib/OCS/ProviderTest.php
+++ b/tests/lib/OCS/ProviderTest.php
@@ -31,7 +31,7 @@ class ProviderTest extends \Test\TestCase {
/** @var Provider */
private $ocsProvider;
- public function setUp(): void {
+ protected function setUp(): void {
parent::setUp();
$this->request = $this->getMockBuilder('\\OCP\\IRequest')->getMock();