From c7bc383a2282ed695caa719ef00359bc2a4e76e2 Mon Sep 17 00:00:00 2001 From: Tim Sturge Date: Wed, 30 Oct 2024 14:37:50 -0700 Subject: [PATCH] add enabled to schema for unit tests (#175) --- schemas/latest/dbt_project-latest.json | 8 +++++++- schemas/latest/dbt_yml_files-latest.json | 5 ++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/schemas/latest/dbt_project-latest.json b/schemas/latest/dbt_project-latest.json index 9ea4b06..f721c53 100644 --- a/schemas/latest/dbt_project-latest.json +++ b/schemas/latest/dbt_project-latest.json @@ -1084,12 +1084,18 @@ }, "unit_test_configs": { "properties": { + "+enabled": { + "$ref": "#/$defs/boolean_or_jinja_string" + }, "+meta": { "$ref": "#/$defs/meta" }, "+tags": { "$ref": "#/$defs/tags" }, + "enabled": { + "$ref": "#/$defs/boolean_or_jinja_string" + }, "meta": { "$ref": "#/$defs/meta" }, @@ -1115,4 +1121,4 @@ "type": "string" } } -} \ No newline at end of file +} diff --git a/schemas/latest/dbt_yml_files-latest.json b/schemas/latest/dbt_yml_files-latest.json index a118a69..36c8041 100644 --- a/schemas/latest/dbt_yml_files-latest.json +++ b/schemas/latest/dbt_yml_files-latest.json @@ -983,6 +983,9 @@ "config": { "type": "object", "properties": { + "enabled": { + "$ref": "#/$defs/boolean_or_jinja_string" + }, "meta": { "type": "object" }, @@ -2143,4 +2146,4 @@ "additionalProperties": false } } -} \ No newline at end of file +}