$message=$this->t('Drupal cannot be automatically updated from the installed version, @installed_version, because automatic updates from a dev version to any other version are not supported.',[
$this->t('Drupal cannot be automatically updated from the installed version, @from_version, because automatic updates from a dev version to any other version are not supported.',$variables),
'Drupal cannot be automatically updated from the installed version, 9.8.0-dev, because automatic updates from a dev version to any other version are not supported.',
'Drupal cannot be automatically updated during cron from its current version, 9.8.0-alpha1, because Automatic Updates only supports updating from stable versions during cron.',
]);
return[
'unstable current version, cron disabled'=>[
CronUpdater::DISABLED,
@@ -275,21 +276,6 @@ class UpdateVersionValidatorTest extends AutomaticUpdatesKernelTestBase {
'9.8.0-alpha1',
[$unstable_current_version],
],
'dev current version, cron disabled'=>[
CronUpdater::DISABLED,
'9.8.x-dev',
[],
],
'dev current version, security updates allowed'=>[
CronUpdater::SECURITY,
'9.8.x-dev',
[],
],
'dev current version, all updates allowed'=>[
CronUpdater::ALL,
'9.8.x-dev',
[],
],
// @todo In the 3 following test cases the installed version is not
// in a supported branch. These test expectations should be changed or
// moved to a new test when we add a validator to check if the installed