diff options
-rw-r--r-- | .travis.yml | 8 | ||||
-rw-r--r-- | tests/Integration/AppTest.php | 2 | ||||
-rw-r--r-- | tests/Unit/Controller/PageControllerTest.php | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml index 397dd66..172480a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,9 +2,9 @@ sudo: false dist: trusty language: php php: - - 7.1 - 7.2 - 7.3 + - 7.4snapshot addons: mariadb: '10.1' @@ -22,11 +22,11 @@ env: matrix: include: - - php: 7.2 + - php: 7.3 env: DB=sqlite - - php: 7.2 + - php: 7.3 env: DB=mysql - - php: 7.2 + - php: 7.3 env: DB=pgsql fast_finish: true 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( |