diff --git a/tests/generic/custom_relationships.sql b/tests/generic/custom_relationships.sql index 618e4a30..32697dee 100644 --- a/tests/generic/custom_relationships.sql +++ b/tests/generic/custom_relationships.sql @@ -29,7 +29,7 @@ count(*) as total_missing, (select count(*) from child) as total_child_records, round( - ((count(*) * 100) / (select count(*) from child)), 2 + ((count(*)) / (select count(*) from child)), 2 ) as failure_rate from validation ) diff --git a/tests/generic/custom_unique_combination_of_columns.sql b/tests/generic/custom_unique_combination_of_columns.sql index 32b6c339..e823f9ee 100644 --- a/tests/generic/custom_unique_combination_of_columns.sql +++ b/tests/generic/custom_unique_combination_of_columns.sql @@ -23,7 +23,7 @@ select duplicates_count, total_rows, - round(((duplicates_count * 100) / total_rows), 2) as proportion + round(((duplicates_count) / total_rows), 2) as proportion from summary )