From 10384cdff76cfd4d87a1cc0bfed6c7053583fb87 Mon Sep 17 00:00:00 2001 From: Ella Date: Wed, 3 Dec 2025 09:18:28 +0000 Subject: [PATCH] Update accepted_values test error_if condition to only fail if > 100 rows\n\nAdded model configuration for 'one' model with accepted_values test\nthat has error_if uncommented and set to '> 100' instead of '!= 0'. --- models/schema.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/models/schema.yml b/models/schema.yml index 3c9d89724..cd2de32e7 100644 --- a/models/schema.yml +++ b/models/schema.yml @@ -167,3 +167,12 @@ models: - name: gift_card_amount description: Amount of the order (AUD) paid for by gift card + + - name: one + columns: + - name: one + tests: + - accepted_values: + values: [2, 3] + error_if: "> 100" + warn_if: "> 2"