Allthough no_caching option works fine itself, running custom KernelTestCase's (outside of services) produces following error (using PHPUnit testrunner, not run_test.sh):

Drupal\Core\Config\Schema\SchemaIncompleteException: Schema errors for services.settings with the following errors: services.settings:default_no_cache variable type is integer but applied schema class is Drupal\Core\TypedData\Plugin\DataType\BooleanData
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

lorenzs created an issue. See original summary.

lorenzs’s picture

Attached patch fixes the testrun's by just assigning 'false' as default value instead of '0'.

lorenzs’s picture

Related issues: +#2825594: Resource Caching
lorenzs’s picture

Assigned: lorenzs » Unassigned

@gravypower can you confirm this is OK?

garphy’s picture

Status: Needs review » Reviewed & tested by the community

The patch in #2 fixes testing issue for me.

tyler.frankenstein’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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