You are here

protected static property InstalledConfigurationTest::$ignoreConfigKeys in Thunder 8.3

Same name and namespace in other branches
  1. 8.5 tests/src/Functional/InstalledConfigurationTest.php \Drupal\Tests\thunder\Functional\InstalledConfigurationTest::ignoreConfigKeys
  2. 8.2 tests/src/Functional/InstalledConfigurationTest.php \Drupal\Tests\thunder\Functional\InstalledConfigurationTest::ignoreConfigKeys
  3. 8.4 tests/src/Functional/InstalledConfigurationTest.php \Drupal\Tests\thunder\Functional\InstalledConfigurationTest::ignoreConfigKeys
  4. 6.2.x tests/src/Functional/InstalledConfigurationTest.php \Drupal\Tests\thunder\Functional\InstalledConfigurationTest::ignoreConfigKeys
  5. 6.0.x tests/src/Functional/InstalledConfigurationTest.php \Drupal\Tests\thunder\Functional\InstalledConfigurationTest::ignoreConfigKeys
  6. 6.1.x tests/src/Functional/InstalledConfigurationTest.php \Drupal\Tests\thunder\Functional\InstalledConfigurationTest::ignoreConfigKeys

Ignore custom keys that are changed during installation process.

Type: array

File

tests/src/Functional/InstalledConfigurationTest.php, line 100

Class

InstalledConfigurationTest
Test for checking of configuration after install of thunder profile.

Namespace

Drupal\Tests\thunder\Functional

Code

protected static $ignoreConfigKeys = [
  // It's not exported in Yaml, so that new key is generated.
  'scheduler.settings' => [
    'lightweight_cron_access_key' => TRUE,
  ],
  // Changed on installation.
  'system.date' => [
    'timezone' => [
      'default' => TRUE,
    ],
  ],
  // Changed on installation.
  'system.file' => [
    'path' => [
      'temporary' => TRUE,
    ],
  ],
  // Changed on installation.
  'update.settings' => [
    'notification' => [
      'emails' => TRUE,
    ],
  ],
  // Changed on Testing.
  'system.logging' => [
    'error_level' => TRUE,
  ],
  // Changed on Testing.
  'system.mail' => [
    'interface' => [
      'default' => TRUE,
    ],
  ],
  // Changed on installation.
  'views.view.glossary' => [
    'dependencies' => [
      'config' => TRUE,
    ],
    'display' => [
      'page_1' => [
        'cache_metadata' => [
          'max-age' => TRUE,
        ],
      ],
      'attachment_1' => [
        'cache_metadata' => [
          'max-age' => TRUE,
        ],
      ],
      'default' => [
        'cache_metadata' => [
          'max-age' => TRUE,
        ],
      ],
    ],
  ],
  'views.view.watchdog' => [
    'display' => [
      'page' => [
        'cache_metadata' => [
          'max-age' => TRUE,
        ],
      ],
      'default' => [
        'cache_metadata' => [
          'max-age' => TRUE,
        ],
      ],
    ],
  ],
  'views.view.files' => [
    'display' => [
      'page_1' => [
        'cache_metadata' => [
          'max-age' => TRUE,
        ],
      ],
      'page_2' => [
        'cache_metadata' => [
          'max-age' => TRUE,
        ],
      ],
      'default' => [
        'cache_metadata' => [
          'max-age' => TRUE,
        ],
      ],
    ],
  ],
  'views.view.moderated_content' => [
    'display' => [
      'moderated_content' => [
        'cache_metadata' => [
          'max-age' => TRUE,
          'tags' => TRUE,
        ],
      ],
      'default' => [
        'cache_metadata' => [
          'max-age' => TRUE,
          'tags' => TRUE,
        ],
      ],
    ],
  ],
  // Diff Module: changed on installation of module when additional library
  // exists on system: mkalkbrenner/php-htmldiff-advanced.
  'diff.settings' => [
    'general_settings' => [
      'layout_plugins' => [
        'visual_inline' => [
          'enabled' => TRUE,
        ],
      ],
    ],
  ],
  // The thunder profile changes article and channel taxonomy when ivw module
  // is installed.
  'core.entity_form_display.node.article.default' => [
    'content' => [
      'field_ivw' => TRUE,
    ],
    'dependencies' => [
      'config' => TRUE,
      'module' => TRUE,
    ],
  ],
  'core.entity_form_display.taxonomy_term.channel.default' => [
    'content' => [
      'field_ivw' => TRUE,
    ],
    'dependencies' => [
      'config' => TRUE,
      'module' => TRUE,
    ],
  ],
  // Remove this when
  // https://github.com/BurdaMagazinOrg/module-nexx_integration/pull/37 lands.
  'core.entity_form_display.media.nexx_video.default' => [
    'content' => [
      'path' => TRUE,
      'moderation_state' => TRUE,
    ],
  ],
  'core.entity_form_display.paragraph.nexx_video.default' => [
    'content' => [
      'moderation_state' => TRUE,
    ],
  ],
  'core.entity_form_display.paragraph.nexx_video.default' => [
    'content' => [
      'moderation_state' => TRUE,
    ],
  ],
  'paragraphs.paragraphs_type.nexx_video' => [
    'icon_uuid' => TRUE,
    'description' => TRUE,
  ],
  // Drupal 8.6.x adds the anchor key to the crop schema.
  // As long as there is no release of Drupal 8.6.x we cannot provide a patch
  // To the slick module. As soon as 8.6.0 is released we should provide that
  // patch to get rid of this ignored key.
  'image.style.slick_media' => [
    'effects' => [
      '4b434ce0-90cc-44c3-9423-35d7cccc7d93' => [
        'data' => [
          'anchor' => TRUE,
        ],
      ],
    ],
  ],
];