Skip to content

Commit

Permalink
Merge pull request #3609 from cal-itp/3475-fix-ntd-tests
Browse files Browse the repository at this point in the history
Fix NTD test errors
  • Loading branch information
erikamov authored Dec 20, 2024
2 parents 36c4beb + 9201a1e commit db3b7f4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions warehouse/models/mart/ntd/_mart_ntd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,7 @@ models:
- not_null
- accepted_values:
values: [2022, 2023]
quote: false
- *reporter_type
- name: sales_tax
description: |
Expand Down Expand Up @@ -503,6 +504,7 @@ models:
- not_null
- accepted_values:
values: [2022, 2023]
quote: false
- *ntd_id
- *agency
- *reporter_type
Expand Down Expand Up @@ -548,6 +550,7 @@ models:
- not_null
- accepted_values:
values: [2022, 2023]
quote: false
- *reporter_type
- *ntd_id
- *agency
Expand Down Expand Up @@ -729,6 +732,7 @@ models:
- not_null
- accepted_values:
values: [2022, 2023]
quote: false
- *ntd_id
- *type_of_service
- *mode
Expand Down
1 change: 0 additions & 1 deletion warehouse/models/staging/ntd_annual_reporting/_src.yml
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,6 @@ sources:
The time period for which data was collected.
This table displays only "Annual Total".
tests:
- not_null
- accepted_values:
values: ["Annual Total"]
- <<: *time_service_begins
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ x-common-fields:
- not_null
- accepted_values:
values: [2022, 2023]
quote: false
- &reporter_type
name: reporter_type
description: '{{ doc("ntd_reporter_type") }}'
Expand Down Expand Up @@ -298,7 +299,6 @@ models:
The time period for which data was collected.
This table displays only "Annual Total".
tests:
- not_null
- accepted_values:
values: ["Annual Total"]
- <<: *time_service_begins
Expand Down

0 comments on commit db3b7f4

Please sign in to comment.