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

github.com/nextcloud/firstrunwizard.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-11-28 12:58:13 +0300
committerJulius Härtl <jus@bitgrid.net>2019-12-04 15:25:28 +0300
commitb8eaec1b2ebf5f4f4712fef4a57ec50d70c976a9 (patch)
tree2cafff9c0a56a46b6d700722fd5bc6b5da4a8ecd
parentd925ad8f0d219a740ccebaa0c07ec1e7ef13c69f (diff)
Update master php testing versions
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--.drone.yml26
-rw-r--r--tests/Controller/WizardControllerTest.php2
-rw-r--r--tests/Notification/BackgroundJobTest.php2
-rw-r--r--tests/Notification/NotifierTest.php2
4 files changed, 16 insertions, 16 deletions
diff --git a/.drone.yml b/.drone.yml
index b0e4583b..928b6b3e 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -3,7 +3,7 @@ name: app-compatbility
steps:
- name: check-app-compatbility
- image: nextcloudci/php7.1:php7.1-16
+ image: nextcloudci/php7.3:php7.3-5
environment:
APP_NAME: firstrunwizard
CORE_BRANCH: master
@@ -29,11 +29,11 @@ trigger:
---
kind: pipeline
-name: php7.1
+name: php7.2
steps:
-- name: php7.1
- image: nextcloudci/php7.1:php7.1-16
+- name: php7.2
+ image: nextcloudci/php7.2:php7.2-13
environment:
APP_NAME: firstrunwizard
CORE_BRANCH: master
@@ -57,11 +57,11 @@ trigger:
---
kind: pipeline
-name: php7.2
+name: php7.3
steps:
-- name: php7.2
- image: nextcloudci/php7.2:php7.2-9
+- name: php7.3
+ image: nextcloudci/php7.3:php7.3-5
environment:
APP_NAME: firstrunwizard
CORE_BRANCH: master
@@ -71,7 +71,7 @@ steps:
- wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB
- cd ../server/
- - php occ app:enable firstrunwizard
+ - php occ app:enable $APP_NAME
- cd apps/$APP_NAME
- phpunit -c tests/phpunit.xml --coverage-clover build/php-unit.coverage.xml
@@ -85,11 +85,11 @@ trigger:
---
kind: pipeline
-name: php7.3
+name: php7.4
steps:
-- name: php7.3
- image: nextcloudci/php7.3:php7.3-2
+- name: php7.4
+ image: nextcloudci/php7.4:2
environment:
APP_NAME: firstrunwizard
CORE_BRANCH: master
@@ -99,7 +99,7 @@ steps:
- wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB
- cd ../server/
- - php occ app:enable firstrunwizard
+ - php occ app:enable $APP_NAME
- cd apps/$APP_NAME
- phpunit -c tests/phpunit.xml --coverage-clover build/php-unit.coverage.xml
@@ -137,4 +137,4 @@ trigger:
- stable*
event:
- pull_request
- - push \ No newline at end of file
+ - push
diff --git a/tests/Controller/WizardControllerTest.php b/tests/Controller/WizardControllerTest.php
index 2319471e..4d7ffa25 100644
--- a/tests/Controller/WizardControllerTest.php
+++ b/tests/Controller/WizardControllerTest.php
@@ -45,7 +45,7 @@ class WizardControllerTest extends TestCase {
protected $config;
private $groupManager;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$this->config = $this->createMock(IConfig::class);
$this->groupManager = $this->createMock(IGroupManager::class);
diff --git a/tests/Notification/BackgroundJobTest.php b/tests/Notification/BackgroundJobTest.php
index a6a44984..6b018c77 100644
--- a/tests/Notification/BackgroundJobTest.php
+++ b/tests/Notification/BackgroundJobTest.php
@@ -42,7 +42,7 @@ class BackgroundJobTest extends TestCase {
/** @var BackgroundJob */
protected $job;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$this->notificationManager = $this->createMock(IManager::class);
$this->job = new BackgroundJob(
diff --git a/tests/Notification/NotifierTest.php b/tests/Notification/NotifierTest.php
index 128d26ab..dee21668 100644
--- a/tests/Notification/NotifierTest.php
+++ b/tests/Notification/NotifierTest.php
@@ -50,7 +50,7 @@ class NotifierTest extends TestCase {
/** @var IL10N|\PHPUnit_Framework_MockObject_MockObject */
protected $l;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$this->manager = $this->createMock(IManager::class);