From ded0cf51c6e611e803a273ec355b43d01b0d0aa2 Mon Sep 17 00:00:00 2001 From: Rene Krenn Date: Tue, 25 Mar 2025 20:04:56 +0100 Subject: [PATCH] MT#53706 OTP: fix restapi tests #1 Change-Id: I070ca236a71931e3670d2df2cc165b30b63c997c --- t/api-rest/api-root.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/api-rest/api-root.t b/t/api-rest/api-root.t index f803768b3a..62d39bc0a1 100644 --- a/t/api-rest/api-root.t +++ b/t/api-rest/api-root.t @@ -187,7 +187,7 @@ $ua = Test::Collection->new()->ua(); } foreach my $link(@links) { - my $rex = qr!^; rel="collection http://purl\.org/sipwise/ngcp-api/#rel-([a-z]+s|topupcash|managersecretary|userinfo|password(reset|recovery|change|otpsecret))"$!; + my $rex = qr!^; rel="collection http://purl\.org/sipwise/ngcp-api/#rel-([a-z]+s|topupcash|managersecretary|userinfo|otpsecret|password(reset|recovery|change))"$!; like($link, $rex, "check for valid link syntax"); my ($relname) = ($link =~ $rex); ok(exists $rels->{$relname}, "check for '$relname' collection in Link");