From: Elena Mamontova Date: Tue, 6 Sep 2016 11:49:56 +0000 (+0300) Subject: Ticket 37. The 'equal' parameter of the TariffChangeIsAllow() fixed to X-Git-Tag: 2.409~105 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/7f830439cde870faa88929eade481eb38c0ef382 Ticket 37. The 'equal' parameter of the TariffChangeIsAllow() fixed to 'equals' in the testobject::test<7>(), testobject::test<8>() functions. --- 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);