From: Elena Mamontova Date: Wed, 14 Sep 2016 14:52:56 +0000 (+0300) Subject: Ticket 37. The false parameter changed to true and 'Prohibit equal' X-Git-Tag: 2.409~92 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/bbad6bd3e4fca2d8f85faeab94eb83a6b6087191?ds=inline Ticket 37. The false parameter changed to true and 'Prohibit equal' changed to 'Allow equal' in the ensure_equals() function for the 'equal' object in testobject::test<9>() function. --- diff --git a/tests/test_tariff.cpp b/tests/test_tariff.cpp index 90c91d31..188aee8a 100644 --- a/tests/test_tariff.cpp +++ b/tests/test_tariff.cpp @@ -418,7 +418,7 @@ namespace tut td.tariffConf.fee = 100; TARIFF_IMPL equal(td); - ensure_equals("Prohibit equal", tariff.TariffChangeIsAllowed(equal).empty(), false); + ensure_equals("Allow equal", tariff.TariffChangeIsAllowed(equal).empty(), true); td.tariffConf.fee = 150; TARIFF_IMPL expensive(td);