Commit 8a66e0a6 authored by Ted Bowman's avatar Ted Bowman
Browse files

Issue #3275357 by tedbow: AU Extensions module became unhidden

parent f80339a0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2,5 +2,6 @@ name: 'Automatic Updates Extensions'
type: module
description: 'Allows updates to themes and modules'
core_version_requirement: ^9.2
hidden: true
dependencies:
  - drupal:automatic_updates
+23 −0
Original line number Diff line number Diff line
<?php

namespace Drupal\Tests\automatic_updates_extensions\Unit;

use Drupal\Tests\UnitTestCase;
use Symfony\Component\Yaml\Yaml;

/**
 * Test to ensure the module is hidden.
 *
 * @group automatic_updates_extensions
 */
class EnsureHiddenTest extends UnitTestCase {

  /**
   * Tests that module is hidden.
   */
  public function testModuleIsHidden() {
    $info = Yaml::parseFile(__DIR__ . '/../../../automatic_updates_extensions.info.yml');
    $this->assertSame(TRUE, $info['hidden']);
  }

}