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,