TT#21348 Skip GET call in test for the convesations

Due to mandatory customer or subscriber parameter

Change-Id: I7678a0acb49605da000dfc603c1a58513ca72757
changes/16/16416/1
Irina Peshinskaya 8 years ago
parent 34bc2d5485
commit 47cdb5e8fe

@ -42,6 +42,13 @@ $ua = Test::Collection->new()->ua();
if (grep {$_ eq "GET"} @{ $opts->{methods} }) {
# skip calllists collection, as it needs a subscriber_id parameter also in the collection
next if $relname eq "calllists";
next if $relname eq "conversations";
#my $uri = "$uri/api/$relname/";
#if('conversations' eq $relname){
# $uri .= '?type=call';
#}elsif('calllist' eq $relname){
# $uri .= '?type=call';
#}
$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