diff --git a/t/api-rest/api-all-links.t b/t/api-rest/api-all-links.t index abcd53907b..1e3f23c966 100644 --- a/t/api-rest/api-all-links.t +++ b/t/api-rest/api-all-links.t @@ -39,6 +39,8 @@ $ua = Test::Collection->new()->ua(); my $rex = qr!^; rel="collection http://purl\.org/sipwise/ngcp-api/#rel-([a-z]+s|topupcash|managersecretary)"$!; foreach my $link(@links) { (my ($relname)) = ($link =~ $rex); + # skip interceptions since there is no longer an LI admin by default + next if $relname eq "interceptions"; # now get this rel $req = HTTP::Request->new('OPTIONS', "$uri/api/$relname/"); $res = $ua->request($req); diff --git a/t/api-rest2/AllLinks.yaml b/t/api-rest2/AllLinks.yaml index 59787a57a8..ae63825c7b 100644 --- a/t/api-rest2/AllLinks.yaml +++ b/t/api-rest2/AllLinks.yaml @@ -119,26 +119,6 @@ is: code: 200 -#check options for /api/interceptions/ -- - name: check OPTIONS for /api/interceptions/ - type: item - method: OPTIONS - path: /api/interceptions/ - conditions: - is: - code: 200 - -#GET /api/interceptions/ -- - name: GET /api/interceptions/ - type: item - method: GET - path: /api/interceptions/ - conditions: - is: - code: 200 - #check options for /api/reminders/ - name: check OPTIONS for /api/reminders/