From 6c87c37a9ad6f98c00471ea9e3c97cdd978f46fc Mon Sep 17 00:00:00 2001 From: Elena Mamontova Date: Fri, 9 Sep 2016 14:44:51 +0300 Subject: [PATCH] Ticket 37. The true parameter changed to false in ensure_equals() function for the equal and expensive check in the testobject::text<8>() function. --- tests/test_tariff.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_tariff.cpp b/tests/test_tariff.cpp index 2af67015..7f3c28a4 100644 --- a/tests/test_tariff.cpp +++ b/tests/test_tariff.cpp @@ -391,12 +391,12 @@ namespace tut td.tariffConf.fee = 100; TARIFF_IMPL equal(td); - ensure_equals("Prohibit equal", !tariff.TariffChangeIsAllowed(equal).empty(), true); + ensure_equals("Prohibit equal", tariff.TariffChangeIsAllowed(equal).empty(), false); td.tariffConf.fee = 150; TARIFF_IMPL expensive(td); - ensure_equals("Prohibit expensive", !tariff.TariffChangeIsAllowed(expensive).empty(), true); + ensure_equals("Prohibit expensive", tariff.TariffChangeIsAllowed(expensive).empty(), false); } template<> -- 2.44.2