From 7f830439cde870faa88929eade481eb38c0ef382 Mon Sep 17 00:00:00 2001 From: Elena Mamontova Date: Tue, 6 Sep 2016 14:49:56 +0300 Subject: [PATCH 1/1] Ticket 37. The 'equal' parameter of the TariffChangeIsAllow() fixed to 'equals' in the testobject::test<7>(), testobject::test<8>() functions. --- 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 188785c7..b671e0b5 100644 --- a/tests/test_tariff.cpp +++ b/tests/test_tariff.cpp @@ -364,7 +364,7 @@ namespace tut td.tariffConf.fee = 100; TARIFF_IMPL equals(td); - ensure_equals("Allow equal", tariff.TariffChangeIsAllowed(equal).empty(), true); + ensure_equals("Allow equal", tariff.TariffChangeIsAllowed(equals).empty(), true); td.tariffConf.fee = 150; TARIFF_IMPL expensive(td); @@ -391,7 +391,7 @@ namespace tut td.tariffConf.fee = 100; TARIFF_IMPL equals(td); - ensure_equals("Allow equal", !tariff.TariffChangeIsAllowed(equal).empty(), true); + ensure_equals("Allow equal", !tariff.TariffChangeIsAllowed(equals).empty(), true); td.tariffConf.fee = 150; TARIFF_IMPL expensive(td); -- 2.44.2