Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment | File | Size | Author |
---|---|---|---|
#2 | services-no_cache_config_boolean-2892938-2.patch | 387 bytes | lorenzs |
Comments
Comment #2
lorenzs CreditAttribution: lorenzs at Cegeka commentedAttached patch fixes the testrun's by just assigning 'false' as default value instead of '0'.
Comment #3
lorenzs CreditAttribution: lorenzs at Cegeka commentedComment #4
lorenzs CreditAttribution: lorenzs at Cegeka commented@gravypower can you confirm this is OK?
Comment #5
garphy CreditAttribution: garphy at ICI LA LUNE commentedThe patch in #2 fixes testing issue for me.
Comment #7
tyler.frankenstein CreditAttribution: tyler.frankenstein commented