Fix broken tests: Config objects already exist

Created on 13 August 2025, 6 days ago

Problem/Motivation

There was 1 error:
1) Drupal\Tests\ad_content_js\Functional\AdContentJsGenericTest::testModuleGenericIssues
Drupal\Core\Config\PreExistingConfigException: Configuration objects (ad_content.ad_content_type.javascript_ad, core.entity_form_display.ad_content.javascript_ad.default, core.entity_view_display.ad_content.javascript_ad.admin, core.entity_view_display.ad_content.javascript_ad.default, field.field.ad_content.javascript_ad.field_javascript, field.storage.ad_content.field_javascript) provided by ad_content_js already exist in active configuration
/builds/project/ad/web/core/lib/Drupal/Core/Config/PreExistingConfigException.php:65
/builds/project/ad/web/core/lib/Drupal/Core/Config/ConfigInstaller.php:593
/builds/project/ad/web/core/lib/Drupal/Core/ProxyClass/Config/ConfigInstaller.php:132
/builds/project/ad/web/core/lib/Drupal/Core/Extension/ModuleInstaller.php:209
/builds/project/ad/web/core/lib/Drupal/Core/ProxyClass/Extension/ModuleInstaller.php:83
/builds/project/ad/web/core/modules/system/tests/src/Functional/Module/GenericModuleTestBase.php:59
ERRORS!

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

11.0

Component

ad module

Created by

🇩🇪Germany Anybody Porta Westfalica

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024