Loading automatic_updates.info.yml +1 −0 Original line number Diff line number Diff line Loading @@ -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 Loading automatic_updates_extensions/automatic_updates_extensions.info.yml +1 −0 Original line number Diff line number Diff line Loading @@ -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 package_manager/package_manager.info.yml +1 −0 Original line number Diff line number Diff line Loading @@ -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 tests/src/Unit/EnsureExperimentalTest.php 0 → 100644 +31 −0 Original line number Diff line number Diff line <?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']); } } } Loading
automatic_updates.info.yml +1 −0 Original line number Diff line number Diff line Loading @@ -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 Loading
automatic_updates_extensions/automatic_updates_extensions.info.yml +1 −0 Original line number Diff line number Diff line Loading @@ -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
package_manager/package_manager.info.yml +1 −0 Original line number Diff line number Diff line Loading @@ -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
tests/src/Unit/EnsureExperimentalTest.php 0 → 100644 +31 −0 Original line number Diff line number Diff line <?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']); } } }