From 469b064eb325b3b292a1ca77af370f4a72d1f58d Mon Sep 17 00:00:00 2001 From: Gerhard Jungwirth Date: Wed, 1 Jul 2015 16:46:36 +0200 Subject: [PATCH] MT#13717 fix apitests related to multi_bil_prof see MT#12643 Change-Id: Ice76e3aecf40f40458a20aacbaaa3a2a74bef512 --- t/api-callforwards.t | 2 +- t/api-root.t | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/t/api-callforwards.t b/t/api-callforwards.t index 28f33bac92..722c0aae1c 100644 --- a/t/api-callforwards.t +++ b/t/api-callforwards.t @@ -57,7 +57,7 @@ my $system_contact_id; #dummy is($selfuri, $nexturi, "check _links.self.href of collection"); my $colluri = URI->new($selfuri); - ok($collection->{total_count} > 0, "check 'total_count' of collection"); + cmp_ok($collection->{total_count}, '>', 0, "check 'total_count' of collection"); my %q = $colluri->query_form; ok(exists $q{page} && exists $q{rows}, "check existence of 'page' and 'row' in 'self'"); diff --git a/t/api-root.t b/t/api-root.t index 25b304f6cc..5d43da68e8 100644 --- a/t/api-root.t +++ b/t/api-root.t @@ -48,6 +48,7 @@ $ua->ssl_opts( my $rels = { applyrewrites => 1, autoattendants => 1, billingfees => 1, + billingnetworks => 1, billingprofiles => 1, billingzones => 1, callcontrols => 1, @@ -83,6 +84,7 @@ $ua->ssl_opts( pbxdevicemodelimages => 1, pbxdeviceprofiles => 1, pbxdevices => 1, + profilepackages => 1, profilepreferences => 1, profilepreferencedefs => 1, reminders => 1,