diff --git a/core/modules/contact/src/Tests/ContactPersonalTest.php b/core/modules/contact/src/Tests/ContactPersonalTest.php index 51124c9..2e091c5 100644 --- a/core/modules/contact/src/Tests/ContactPersonalTest.php +++ b/core/modules/contact/src/Tests/ContactPersonalTest.php @@ -19,6 +19,15 @@ class ContactPersonalTest extends WebTestBase { /** + * Set to TRUE to strict check all configuration saved. + * + * @see \Drupal\Core\Config\Testing\ConfigSchemaChecker + * + * @var bool + */ + protected $strictConfigSchema = TRUE; + + /** * Modules to enable. * * @var array diff --git a/core/modules/contact/src/Tests/ContactSitewideTest.php b/core/modules/contact/src/Tests/ContactSitewideTest.php index be909f5..5131a44 100644 --- a/core/modules/contact/src/Tests/ContactSitewideTest.php +++ b/core/modules/contact/src/Tests/ContactSitewideTest.php @@ -21,6 +21,15 @@ class ContactSitewideTest extends WebTestBase { /** + * Set to TRUE to strict check all configuration saved. + * + * @see \Drupal\Core\Config\Testing\ConfigSchemaChecker + * + * @var bool + */ + protected $strictConfigSchema = TRUE; + + /** * Modules to enable. * * @var array diff --git a/core/modules/contact/src/Tests/ContactStorageTest.php b/core/modules/contact/src/Tests/ContactStorageTest.php index 79b3cfd..6cb9bdf 100644 --- a/core/modules/contact/src/Tests/ContactStorageTest.php +++ b/core/modules/contact/src/Tests/ContactStorageTest.php @@ -8,7 +8,6 @@ namespace Drupal\contact\Tests; use Drupal\Component\Utility\Unicode; -use Drupal\config\Tests\SchemaCheckTestTrait; use Drupal\contact\Entity\Message; /** @@ -16,8 +15,6 @@ */ class ContactStorageTest extends ContactSitewideTest { - use SchemaCheckTestTrait; - /** * Modules to enable. * @@ -79,7 +76,6 @@ public function testContactStorage() { $config = \Drupal::config("contact.form.$id"); $this->assertEqual($config->get('id'), $id); - $this->assertConfigSchema(\Drupal::service('config.typed'), $config->getName(), $config->get()); } } diff --git a/core/modules/contact/src/Tests/Views/ContactLinkTest.php b/core/modules/contact/src/Tests/Views/ContactLinkTest.php index bb7fb91..060d1b8 100644 --- a/core/modules/contact/src/Tests/Views/ContactLinkTest.php +++ b/core/modules/contact/src/Tests/Views/ContactLinkTest.php @@ -19,6 +19,15 @@ class ContactLinkTest extends ViewTestBase { /** + * Set to TRUE to strict check all configuration saved. + * + * @see \Drupal\Core\Config\Testing\ConfigSchemaChecker + * + * @var bool + */ + protected $strictConfigSchema = TRUE; + + /** * Stores the user data service used by the test. * * @var \Drupal\user\UserDataInterface