Bug 37043: Update the base URL for the Counter Registry API

Test plan:
1) prove t/db_dependent/api/v1/erm_sushi_services.t
2) t/db_dependent/api/v1/erm_counter_registries.t

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 8c90b87583)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 31dd31d324)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Matt Blenkinsop 2024-06-06 08:25:52 +00:00 committed by Fridolin Somers
parent d23d1e82b0
commit eca867adac
3 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@ sub list {
my $search_string = $query_params_array[0]->{name};
my $url = 'https://registry.projectcounter.org/api/v1/platform/';
my $url = 'https://registry.countermetrics.org/api/v1/platform/';
my $request = HTTP::Request->new(
GET => $url,
);

View File

@ -338,7 +338,7 @@
</li>
<span
>{{ $__("Please refer to the ") }}
<a href="https://registry.projectcounter.org/">{{
<a href="https://registry.countermetrics.org/">{{
$__("COUNTER registry")
}}</a>
{{ $__("for more information.") }}</span

View File

@ -42,7 +42,7 @@ t::lib::Mocks::mock_preference( 'RESTBasicAuth', 1 );
subtest 'get() tests' => sub {
plan tests => 5;
my $service_url = "https://registry.projectcounter.org/api/v1/sushi-service/b94bc981-fa16-4bf6-ba5f-6c113f7ffa0b/";
my $service_url = "https://registry.countermetrics.org/api/v1/sushi-service/b94bc981-fa16-4bf6-ba5f-6c113f7ffa0b/";
my @expected_fields = (
"api_key_info",
"api_key_required",