Problem/Motivation

I wrote a simpletest for some custom code, and it fails due to the missing schema.

Steps to reproduce

Write a Kernel test and see the resulting output.

  1)
  Drupal\Tests\ourcustommodule_geoip\Kernel\CookieBannerTest::testGeoForOverrideEuCountry
  Drupal\Core\Config\Schema\SchemaIncompleteException: Schema errors for
  eu_cookie_compliance.settings with the following errors:
  eu_cookie_compliance.settings:eu_countries missing schema

Proposed resolution

Add schema and an empty array default.

CommentFileSizeAuthor
#2 eu-cookie-compliance-3280437-02.patch1.49 KBpobster

Comments

pobster created an issue. See original summary.

pobster’s picture

Status: Active » Needs review
StatusFileSize
new1.49 KB
pobster’s picture

Issue summary: View changes
pobster’s picture

Issue summary: View changes

  • svenryen committed d4ac3ed on 8.x-1.x authored by pobster
    Issue #3280437 by pobster, svenryen: Missing schema for eu_countries
    
svenryen’s picture

Status: Needs review » Fixed

Thanks for the patch, @pobster.

Status: Fixed » Closed (fixed)

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