From 18cb23396ddc4f9f7759cb76a1dbfbc1d659e81b Mon Sep 17 00:00:00 2001 From: Elena Mamontova Date: Tue, 6 Sep 2016 15:01:33 +0300 Subject: [PATCH] Ticket 37. td.tariffConf.changePolicy definition fixed 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 b671e0b5..71b1e57b 100644 --- a/tests/test_tariff.cpp +++ b/tests/test_tariff.cpp @@ -352,7 +352,7 @@ namespace tut set_test_name("Check changePolicy - ALLOW"); TARIFF_DATA td("test"); - td.tariffConf.changePolicy = TARIFF::CHANGE_POLICY ALLOW; + td.tariffConf.changePolicy = TARIFF::ALLOW; td.tariffConf.fee = 100; TARIFF_IMPL tariff(td); @@ -379,7 +379,7 @@ namespace tut set_test_name("Check changePolicy - TO_CHEAP"); TARIFF_DATA td("test"); - td.tariffConf.changePolicy = TARIFF::CHANGE_POLICY TO_CHEAP; + td.tariffConf.changePolicy = TARIFF::TO_CHEAP; td.tariffConf.fee = 100; TARIFF_IMPL tariff(td); -- 2.44.2