From e5a12bf802b22aceec98f89dac8b4d29bdf248ae Mon Sep 17 00:00:00 2001 From: Maria Lorena Rodriguez Viruel Date: Tue, 27 Aug 2024 09:45:42 -0400 Subject: [PATCH] add data test to verify post_hook deletion logic for document_metadata model --- test/sqltest/document_metadata_post_hook_deletes.sql | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 test/sqltest/document_metadata_post_hook_deletes.sql diff --git a/test/sqltest/document_metadata_post_hook_deletes.sql b/test/sqltest/document_metadata_post_hook_deletes.sql new file mode 100644 index 00000000..ad62cc89 --- /dev/null +++ b/test/sqltest/document_metadata_post_hook_deletes.sql @@ -0,0 +1,3 @@ +SELECT COUNT(*) +FROM {{ ref('document_metadata') }} +WHERE _deleted = true