Enable strict config schema for tests

Created on 17 March 2023, almost 2 years ago
Updated 20 March 2023, almost 2 years ago

Problem/Motivation

Currently, we have this code setup in "MenuMultilingualContextTest" and "MenuMultilingualContextMenuBlockTest":
~~~
/**
* {@inheritdoc}
*/
protected $strictConfigSchema = FALSE;
~~~
This is against the Drupal Coding Standards and should be removed (setting it to TRUE):

Do not disable strict config schema checking in tests. Instead, ensure your module properly declares its schema for configurations.

Steps to reproduce

Proposed resolution

Remove the code and verify the tests once again.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

🇩🇪Germany Grevil

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

Comments & Activities

Production build 0.71.5 2024