Skip to content
Snippets Groups Projects
Commit ca688464 authored by Ted Bowman's avatar Ted Bowman
Browse files

Issue #3275860 by tedbow: Mark our modules as experimental

parent 42c8205f
No related branches found
No related tags found
1 merge request!283Issue #3275860: Mark our modules as experimental
......@@ -2,6 +2,7 @@ name: 'Automatic Updates'
type: module
description: 'Automatically updates Drupal core.'
core_version_requirement: ^9.2
lifecycle: experimental
dependencies:
- drupal:automatic_updates_9_3_shim
- drupal:package_manager
......
......@@ -3,5 +3,6 @@ type: module
description: 'Allows updates to themes and modules'
core_version_requirement: ^9.2
hidden: true
lifecycle: experimental
dependencies:
- drupal:automatic_updates
......@@ -2,3 +2,4 @@ name: 'Package Manager'
type: module
description: 'API module providing functionality for staging package installs and updates with Composer.'
core_version_requirement: ^9
lifecycle: experimental
<?php
namespace Drupal\Tests\automatic_updates\Unit;
use Drupal\Tests\UnitTestCase;
use Symfony\Component\Yaml\Yaml;
/**
* Tests to ensure the modules are experimental.
*
* @group automatic_updates
*/
class EnsureExperimentalTest extends UnitTestCase {
/**
* Tests that the modules are experimental.
*/
public function testModulesExperimental() {
$info_files = [
__DIR__ . '/../../../automatic_updates_extensions/automatic_updates_extensions.info.yml',
__DIR__ . '/../../../automatic_updates.info.yml',
__DIR__ . '/../../../package_manager/package_manager.info.yml',
];
foreach ($info_files as $info_file) {
$info = Yaml::parseFile($info_file);
$this->assertSame('experimental', $info['lifecycle']);
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment