MT#10537 Skip GET test on calllists.

It needs a subscriber_id also for the collection, which we don't
have in this test.
changes/55/555/6
Andreas Granig 11 years ago
parent 8edc14457e
commit 299fa89266

@ -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")

Loading…
Cancel
Save