]> git.stg.codes - stg.git/commitdiff
Ticket 37. The false parameter changed to true and 'Prohibit equal'
authorElena Mamontova <helenh463@gmail.com>
Wed, 14 Sep 2016 14:52:56 +0000 (17:52 +0300)
committerElena Mamontova <helenh463@gmail.com>
Wed, 14 Sep 2016 14:52:56 +0000 (17:52 +0300)
changed to 'Allow equal' in the ensure_equals() function for the 'equal'
object in  testobject::test<9>() function.

tests/test_tariff.cpp

index 90c91d31b9d59ae1e08941a7e829b9384a16e2a4..188aee8a1802cdad240568d766ab392ca783e7a5 100644 (file)
@@ -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);