diff --git a/config/schema/google_vision.schema.yml b/config/schema/google_vision.schema.yml index c4196f0..bcb997e 100755 --- a/config/schema/google_vision.schema.yml +++ b/config/schema/google_vision.schema.yml @@ -4,4 +4,12 @@ field_config.type.*.third_party.google_vision: mapping: google_vision: type: boolean - label: 'Google vision' \ No newline at end of file + label: 'Google vision' + +google_vision.settings: + type: config_object + label: 'Google Vision settings' + mapping: + api_key: + type: string + label: 'Google Vision Api Key' diff --git a/src/Tests/ApiKeyConfigurationTest.php b/src/Tests/ApiKeyConfigurationTest.php index 608f11c..9b00aa5 100755 --- a/src/Tests/ApiKeyConfigurationTest.php +++ b/src/Tests/ApiKeyConfigurationTest.php @@ -21,15 +21,6 @@ class ApiKeyConfigurationTest extends WebTestBase { public static $modules = ['google_vision']; /** - * Disable strict config schema checking. - * - * The schema is verified at the end of running the update. - * - * @var bool - */ - protected $strictConfigSchema = FALSE; - - /** * A user with permission to create and edit books and to administer blocks. * * @var object