The module has defined a config setting called tabs: true. However, there is no associated schema present for the same.

Due to the above reason, any PHPUnit test that is trying to enable the module is failing with the error Drupal\Core\Config\Schema\SchemaIncompleteException: No schema for module_filter.settings

The above error is coming because of https://www.drupal.org/node/2391795

As a workaround, I had to add this property in my test class but it's not the recommended way.

protected $strictConfigSchema = FALSE;

Hence it's best that we fix the problem at the core.

CommentFileSizeAuthor
#2 Missing-Schema-3081959-2.patch427 byteskunalkursija
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kunalkursija created an issue. See original summary.

kunalkursija’s picture

Status: Active » Needs review
FileSize
427 bytes

This patch should fix the issue.

Dinesh18’s picture

Patch #2 looks good to me. +1 to RTBC.
Let's wait for some more drupalers to review

andrey.troeglazov’s picture

Assigned: Unassigned » andrey.troeglazov
AardWolf’s picture

I've checked patch.
It works.

  • kunalkursija authored 7de04e6 on 8.x-3.x
    Issue #3081959 by kunalkursija: PHPUnit functional test error: No schema...
andrey.troeglazov’s picture

Status: Needs review » Fixed
Issue tags: +Module Filter Release 8.x-3.2
andrey.troeglazov’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.