change "tests:" to "data_tests:"

This commit is contained in:
Pablo Martin 2025-01-13 16:00:35 +01:00
parent db1edf7a1c
commit c3c628aec4
29 changed files with 1565 additions and 1565 deletions

View file

@ -13,18 +13,18 @@ models:
description: A unique ID for the record, derived from concatenating the
currencies and date. Currency order is relevant (EURUSD != USDEUR).
data_type: text
tests:
data_tests:
- not_null
- unique
- name: from_currency
description: The source currency, represented as an ISO 4217 code.
data_type: character
tests:
data_tests:
- not_null
- name: to_currency
description: The target currency, represented as an ISO 4217 code.
data_type: character
tests:
data_tests:
- not_null
- name: rate
description: >-
@ -38,7 +38,7 @@ models:
The rate can be smaller than one, but can't be negative.
data_type: numeric
tests:
data_tests:
- not_negative_or_zero
- not_null
- name: rate_date_utc