From ee29f280f6ec2689dc8f94e056e228b7b00cecda Mon Sep 17 00:00:00 2001 From: Irina Peshinskaya Date: Tue, 14 Jul 2015 05:16:31 +0300 Subject: [PATCH] MT#13717 Avoid duplicated implicit billing zone name Change-Id: I27eb476339e6405b395d52c62b3f86932837ffd0 --- t/api-billingfees.t | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/t/api-billingfees.t b/t/api-billingfees.t index 1d977db838..2450f42779 100644 --- a/t/api-billingfees.t +++ b/t/api-billingfees.t @@ -94,7 +94,7 @@ $test_machine->check_bundle(); } # try to create fee with implicit zone which doesn't exist yet { - my $t = time; + my $t = 1 + time(); my ($res, $err) = $test_machine->request_post(sub{ delete $_[0]->{billing_zone_id}; $_[0]->{billing_zone_zone} = 'apitestzone'.$t; @@ -127,7 +127,6 @@ $test_machine->check_bundle(); $test_machine->check_embedded($item_put); } { - my $t = time; my($res,$mod_fee) = $test_machine->check_patch_correct( [ { op => 'replace', path => '/direction', value => 'in' } ] ); is($mod_fee->{direction}, "in", "check patched replace op"); }