diff options
author | Joas Schilling <coding@schilljs.com> | 2019-12-05 14:50:48 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2019-12-05 14:50:48 +0300 |
commit | bd69f3ad67e256d3add8ddf4d5aea4f90710bcaa (patch) | |
tree | 5a978abf99861ab7856b60085cb2c268dd166158 | |
parent | 476db6b61c3134681c0830061db004d492752f6d (diff) |
Update master php testing versions
Signed-off-by: Joas Schilling <coding@schilljs.com>
-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( |