From 8c3c0bb9256669d471b32bf407269258af496315 Mon Sep 17 00:00:00 2001 From: Flaviu Mates Date: Fri, 26 Mar 2021 17:17:13 +0200 Subject: [PATCH] TT#108854 Fix api tests after adding userinfo and resellebrandings endpoints Change-Id: Id063694be6fc1baf61318d6d313c8da0217ba84f --- t/api-rest/api-root.t | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/t/api-rest/api-root.t b/t/api-rest/api-root.t index 25802162b7..f4e6ed628e 100644 --- a/t/api-rest/api-root.t +++ b/t/api-rest/api-root.t @@ -132,6 +132,7 @@ $ua = Test::Collection->new()->ua(); peeringserverpreferences => 1, peeringservers => 1, phonebookentries => 1, + resellerbrandings => 1, resellerpreferencedefs => 1, resellerpreferences => 1, preferencesmetaentries => 1, @@ -168,6 +169,7 @@ $ua = Test::Collection->new()->ua(); topupvouchers => 1, trustedsources => 1, upnrewritesets => 1, + userinfo => 1, voicemailrecordings => 1, voicemailgreetings => 1, voicemails => 1, @@ -175,7 +177,7 @@ $ua = Test::Collection->new()->ua(); vouchers => 1, }; foreach my $link(@links) { - my $rex = qr!^; rel="collection http://purl\.org/sipwise/ngcp-api/#rel-([a-z]+s|topupcash|managersecretary|passwordre(set|covery))"$!; + my $rex = qr!^; rel="collection http://purl\.org/sipwise/ngcp-api/#rel-([a-z]+s|topupcash|managersecretary|userinfo|passwordre(set|covery))"$!; like($link, $rex, "check for valid link syntax"); my ($relname) = ($link =~ $rex); ok(exists $rels->{$relname}, "check for '$relname' collection in Link");