From ec95a6f92f00c1778584d48c622e36fa82c300d0 Mon Sep 17 00:00:00 2001 From: Rene Krenn Date: Fri, 24 Jul 2015 13:12:38 +0200 Subject: [PATCH] MT#13903 fixes for nightly tests Change-Id: I7940d3bb0a4909281996f23134de86cbde34a7cf --- lib/NGCP/Panel/Form/Voucher/ResellerAPI.pm | 2 +- t/api-customers.t | 2 +- t/api-root.t | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/NGCP/Panel/Form/Voucher/ResellerAPI.pm b/lib/NGCP/Panel/Form/Voucher/ResellerAPI.pm index 0bcbb80c9e..e76d0e9d74 100644 --- a/lib/NGCP/Panel/Form/Voucher/ResellerAPI.pm +++ b/lib/NGCP/Panel/Form/Voucher/ResellerAPI.pm @@ -54,7 +54,7 @@ has_field 'customer' => ( has_field 'package_id' => ( type => 'PosInteger', - required => 1, + required => 0, element_attr => { rel => ['tooltip'], title => ['The package this voucher belongs to.'] diff --git a/t/api-customers.t b/t/api-customers.t index fd4c95d022..996550a473 100644 --- a/t/api-customers.t +++ b/t/api-customers.t @@ -10,7 +10,7 @@ use DateTime qw(); use DateTime::Format::Strptime qw(); use DateTime::Format::ISO8601 qw(); -my $is_local_env = 1; +my $is_local_env = 0; my $uri = $ENV{CATALYST_SERVER} || ('https://'.hostfqdn.':4443'); diff --git a/t/api-root.t b/t/api-root.t index be2f0c6506..f03d6a5b7b 100644 --- a/t/api-root.t +++ b/t/api-root.t @@ -48,6 +48,7 @@ $ua->ssl_opts( my $rels = { applyrewrites => 1, autoattendants => 1, + balanceintervals => 1, billingfees => 1, billingnetworks => 1, billingprofiles => 1,