From 299fa892665098fbd09de120f9298b2f216eb33d Mon Sep 17 00:00:00 2001 From: Andreas Granig Date: Wed, 10 Dec 2014 11:41:30 +0100 Subject: [PATCH] MT#10537 Skip GET test on calllists. It needs a subscriber_id also for the collection, which we don't have in this test. --- t/api-all-links.t | 2 ++ 1 file changed, 2 insertions(+) diff --git a/t/api-all-links.t b/t/api-all-links.t index 71925689fc..94c6d40e20 100644 --- a/t/api-all-links.t +++ b/t/api-all-links.t @@ -48,6 +48,8 @@ $ua->ssl_opts( ok(exists $opts->{methods}, "OPTIONS should return methods"); is(ref $opts->{methods}, "ARRAY", "OPTIONS methods should be array"); if ("GET" ~~ $opts->{methods}) { + # skip calllists collection, as it needs a subscriber_id parameter also in the collection + next if $relname eq "calllists"; $req = HTTP::Request->new('GET', "$uri/api/$relname/"); $res = $ua->request($req); is($res->code, 200, "check GET request to $relname collection")