From ef537a5fcf254d4b79164794830665e961c7796b Mon Sep 17 00:00:00 2001 From: AB019TC Date: Fri, 26 Apr 2024 11:17:39 +0200 Subject: [PATCH] Closes #120 - Fixing the tests --- .../atum/database/runs/CreateOrUpdateAdditionalDataTest.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database/src/test/scala/za/co/absa/atum/database/runs/CreateOrUpdateAdditionalDataTest.scala b/database/src/test/scala/za/co/absa/atum/database/runs/CreateOrUpdateAdditionalDataTest.scala index 1ea53e973..93fe21c66 100644 --- a/database/src/test/scala/za/co/absa/atum/database/runs/CreateOrUpdateAdditionalDataTest.scala +++ b/database/src/test/scala/za/co/absa/atum/database/runs/CreateOrUpdateAdditionalDataTest.scala @@ -83,7 +83,7 @@ class CreateOrUpdateAdditionalDataTest extends DBTestSuite{ assert(!queryResult.hasNext) } - assert(table("runs.additional_data").count() == 4) + assert(table("runs.additional_data").count() == 3) assert(table("runs.additional_data").count(add("fk_partitioning", fkPartitioning)) == 3) assert(table("runs.additional_data_history").count(add("fk_partitioning", fkPartitioning)) == 1) @@ -147,7 +147,7 @@ class CreateOrUpdateAdditionalDataTest extends DBTestSuite{ assert(!queryResult.hasNext) } - assert(table("runs.additional_data").count() == 6) + assert(table("runs.additional_data").count() == 5) assert(table("runs.additional_data").count(add("fk_partitioning", fkPartitioning)) == 5) assert(table("runs.additional_data_history").count(add("fk_partitioning", fkPartitioning)) == 0)