30 lines
1.2 KiB
Gherkin
30 lines
1.2 KiB
Gherkin
Feature: CLI updater - stable12 base
|
|
|
|
Scenario: Update is available - 12.0.0 beta 1 to 12.0.0 beta 2
|
|
Given the current installed version is 12.0.0beta1
|
|
And there is an update to prerelease version "12.0.0beta2" available
|
|
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 12.0
|
|
And maintenance mode should be off
|
|
And upgrade is not required
|
|
|
|
Scenario: Update is available - 12.0.0 to 12.0.1
|
|
Given the current installed version is 12.0.0
|
|
And there is an update to version 12.0.1 available
|
|
When the CLI updater is run successfully
|
|
And the output should contain "Update successful"
|
|
Then the installed version should be 12.0.1
|
|
And maintenance mode should be off
|
|
And upgrade is not required
|
|
|
|
Scenario: Update is available - 12.0.0 to 13.0.1
|
|
Given the current installed version is 12.0.0
|
|
And there is an update to version 13.0.1 available
|
|
When the CLI updater is run successfully
|
|
And the output should contain "Update successful"
|
|
Then the installed version should be 13.0.1
|
|
And maintenance mode should be off
|
|
And upgrade is not required
|