Updated tests

This commit is contained in:
Joaquin Ossa 2025-02-19 09:08:21 +01:00
parent 74b045a930
commit e9c0fa3ed0
3 changed files with 10 additions and 4 deletions

View file

@ -27,7 +27,7 @@ with
group by 1, 2
)
select
bi.display_name as pms_name,
it.display_name as pms_name,
uh.id_user_host,
uh.id_deal,
uh.account_type,
@ -51,5 +51,5 @@ left join
booking_integrations bi
on bi.id_user_host = uh.id_user_host
and bi.display_name = it.display_name
where uh.is_test_account = false
where uh.is_test_account = false and uh.has_active_pms = true
group by 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12

View file

@ -5757,7 +5757,10 @@ models:
- name: id_user_host
data_type: character varying
description: |
The unique ID for the host. Can be null.
The unique ID for the host.
data_tests:
- not_null
- unique
- name: id_deal
data_type: character varying