From: Elena Mamontova Date: Tue, 6 Sep 2016 12:01:33 +0000 (+0300) Subject: Ticket 37. td.tariffConf.changePolicy definition fixed in the X-Git-Tag: 2.409~104 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/18cb23396ddc4f9f7759cb76a1dbfbc1d659e81b?hp=7f830439cde870faa88929eade481eb38c0ef382 Ticket 37. td.tariffConf.changePolicy definition fixed in the testobject::test<7>(), testobject::test<8>() functions. --- 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);