]> git.stg.codes - stg.git/blobdiff - tests/test_tariff.cpp
Ticket 37. '../stglibs/common.lib/strptime.cpp' added in the
[stg.git] / tests / test_tariff.cpp
index 90c91d31b9d59ae1e08941a7e829b9384a16e2a4..188aee8a1802cdad240568d766ab392ca783e7a5 100644 (file)
@@ -418,7 +418,7 @@ namespace tut
         td.tariffConf.fee = 100;
         TARIFF_IMPL equal(td);
 
         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);
 
         td.tariffConf.fee = 150;
         TARIFF_IMPL expensive(td);