Add a basic test to see if config schema is valid. This is to make sure the patch in #3077525: Add schema for settings works as expected. I'm going to attempt if the approach at #2886266: Test that config passes schema inspection works.
| Comment | File | Size | Author |
|---|---|---|---|
| #16 | 3143632-16.patch | 1.65 KB | hussainweb |
| #15 | 3143632-15.patch | 2.75 KB | hussainweb |
Comments
Comment #2
hussainwebLet's try
Comment #3
hussainwebI found another issue which hinted that this is the right approach to test schema. In #3085225: Enable strict config schema checking in \Drupal\Tests\field_group\Functional\ManageDisplayTest, the strict config schema tests are re-enabled (which means it is enabled by default).
Comment #4
hussainwebTrying again
Comment #6
hussainwebThe schema is already present in the field module, so maybe this would work?
Comment #8
hussainwebProgress. Let's try installing user explicitly.
Comment #10
hussainwebWe're getting more specific now. Combining it with the patch in #3077525-4: Add schema for settings.
Comment #12
hussainwebRetesting after committing #3143656: Remove unnecessary field storage settings
Comment #13
hussainwebTesting with the latest patch from #3077525-5: Add schema for settings.
Comment #15
hussainwebWe're getting better errors now. Fixing the schema.
Comment #16
hussainwebYay. The schema is now committed in #3077525: Add schema for settings. Let's commit the proper patch here.
Comment #18
hussainwebComment #19
hussainweb