Update tests to 16 release
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
5b57962e5e
commit
680241592b
54
.drone.yml
54
.drone.yml
|
@ -177,6 +177,60 @@ trigger:
|
|||
- pull_request
|
||||
- push
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
name: php71-stable16
|
||||
|
||||
steps:
|
||||
- name: php71-stable16
|
||||
image: nextcloudci/php7.1:php7.1-16
|
||||
commands:
|
||||
- make test-stable16
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
- stable*
|
||||
event:
|
||||
- pull_request
|
||||
- push
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
name: php72-stable16
|
||||
|
||||
steps:
|
||||
- name: php72-stable16
|
||||
image: nextcloudci/php7.2:php7.2-12
|
||||
commands:
|
||||
- make test-stable16
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
- stable*
|
||||
event:
|
||||
- pull_request
|
||||
- push
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
name: php73-stable16
|
||||
|
||||
steps:
|
||||
- name: php73-stable16
|
||||
image: nextcloudci/php7.3:php7.3-2
|
||||
commands:
|
||||
- make test-stable16
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
- stable*
|
||||
event:
|
||||
- pull_request
|
||||
- push
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
name: php71-master
|
||||
|
|
3
Makefile
3
Makefile
|
@ -29,6 +29,9 @@ test-stable14: updater.phar test/vendor
|
|||
test-stable15: updater.phar test/vendor
|
||||
cd tests && vendor/behat/behat/bin/behat features/stable15.feature
|
||||
|
||||
test-stable16: updater.phar test/vendor
|
||||
cd tests && vendor/behat/behat/bin/behat features/stable16.feature
|
||||
|
||||
test-master: updater.phar test/vendor
|
||||
cd tests && vendor/behat/behat/bin/behat features/master.feature
|
||||
|
||||
|
|
|
@ -249,6 +249,12 @@ WbRmf4trGwDdCA/kQ59LInfLR8KFfEiiOH2p2NijgXuWm49tdr7N1062diP4Dzwd
|
|||
WlWfRoT8G5DDQPGdj5a72+sQLjf3ZhjqgeQbGLwht/NonWLZhmmW/NgmylbCb9Ob
|
||||
a7NE4Vf792DrmBvq4HCHUexg+upaJ0s4sJLGqg3sWF8iUEnLyGePyL/Bw6MeLvjD
|
||||
sSD0Xb5oawIjTVHVAuL+3Q==',
|
||||
'16.0.3' => 'TYiUB/+l2uXNpiHGuMhchHzzyMn8eiL2mzBD+fmwqUXU29UYK4FFvTbDEWWXxXF9
|
||||
XeOXXBTkWltQ6A5K+nwFx4Phf4VPznaGn3U/1hsLSLBy9p9qqBMQdmDvCxl4dJmP
|
||||
R0Ttz6sGcC1AsYwW2Q5Z1lywpmk1Ax5YcJesbjOFTU9HXIOI2s9YyPX4bP3L1rkH
|
||||
CaZqjW7yCedKhj64F/SuXnUwaPhqTNNoDdhCN14IKvXCFYKLxm5UoGXrddwIcRrL
|
||||
rHSv7h5818aTjmj4sB1jsVrxNf32PgrUED8PUqgMYx1FxEzGyct4yj+GbIBi4D+K
|
||||
b813iKq4+cn3CjTunREm6A==',
|
||||
];
|
||||
|
||||
if(isset($signatures[$version])) {
|
||||
|
|
|
@ -7,6 +7,6 @@ Feature: CLI updater - master base
|
|||
And the version number is decreased in the config.php to enforce upgrade
|
||||
When the CLI updater is run successfully
|
||||
And the output should contain "Update successful"
|
||||
Then the installed version should be 16.0
|
||||
Then the installed version should be 17.0
|
||||
And maintenance mode should be off
|
||||
And upgrade is not required
|
||||
|
|
|
@ -13,8 +13,8 @@ Feature: CLI updater - stable14 base
|
|||
Scenario: Update is available - 15.0.0 to master daily
|
||||
Given the current installed version is 15.0.0RC1
|
||||
And PHP is at least in version 7.0
|
||||
And the current channel is "daily"
|
||||
And there is an update to daily version of master available
|
||||
And the current channel is "beta"
|
||||
And there is an update to version 16.0.3 available
|
||||
When the CLI updater is run successfully
|
||||
And the output should contain "Update successful"
|
||||
Then the installed version should be 16.0
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
Feature: CLI updater - stable14 base
|
||||
|
||||
Scenario: Update is available - 16.0.1 to 16.0.3
|
||||
Given the current installed version is 16.0.0
|
||||
And there is an update to version 16.0.3 available
|
||||
When the CLI updater is run successfully
|
||||
And the output should contain "Update successful"
|
||||
Then the installed version should be 16.0
|
||||
And maintenance mode should be off
|
||||
And upgrade is not required
|
||||
|
||||
Scenario: Update is available - 16.0.0 to master daily
|
||||
Given the current installed version is 16.0.0
|
||||
And the current channel is "daily"
|
||||
And there is an update to daily version of master available
|
||||
# TODO broken due to files_texteditor removal
|
||||
# When the CLI updater is run successfully
|
||||
# And the output should contain "Update successful"
|
||||
# Then the installed version should be 17.0
|
||||
# And maintenance mode should be off
|
||||
# And upgrade is not required
|
||||
|
||||
|
Loading…
Reference in New Issue