Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/privacy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-12-05 14:50:48 +0300
committerJoas Schilling <coding@schilljs.com>2019-12-05 14:50:48 +0300
commitbd69f3ad67e256d3add8ddf4d5aea4f90710bcaa (patch)
tree5a978abf99861ab7856b60085cb2c268dd166158 /tests
parent476db6b61c3134681c0830061db004d492752f6d (diff)
Update master php testing versions
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/Integration/AppTest.php2
-rw-r--r--tests/Unit/Controller/PageControllerTest.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/Integration/AppTest.php b/tests/Integration/AppTest.php
index 632300b..5af70e1 100644
--- a/tests/Integration/AppTest.php
+++ b/tests/Integration/AppTest.php
@@ -15,7 +15,7 @@ class AppTest extends TestCase {
private $container;
- public function setUp() {
+ protected function setUp(): void {
parent::setUp();
$app = new App('privacy');
$this->container = $app->getContainer();
diff --git a/tests/Unit/Controller/PageControllerTest.php b/tests/Unit/Controller/PageControllerTest.php
index f089886..c53bc3b 100644
--- a/tests/Unit/Controller/PageControllerTest.php
+++ b/tests/Unit/Controller/PageControllerTest.php
@@ -13,7 +13,7 @@ class PageControllerTest extends PHPUnit_Framework_TestCase {
private $controller;
private $userId = 'john';
- public function setUp() {
+ protected function setUp(): void {
$request = $this->getMockBuilder('OCP\IRequest')->getMock();
$this->controller = new PageController(