From e2ec8f1ad67fab3f2756493bb45bd238b6d1ec93 Mon Sep 17 00:00:00 2001 From: Paolo Di Tommaso Date: Mon, 3 Oct 2022 16:35:48 +0200 Subject: [PATCH] Fix test [release] Signed-off-by: Paolo Di Tommaso --- .../seqera/wave/ratelimit/SpillwayRegistryControllerTest.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/groovy/io/seqera/wave/ratelimit/SpillwayRegistryControllerTest.groovy b/src/test/groovy/io/seqera/wave/ratelimit/SpillwayRegistryControllerTest.groovy index d45b639d3..17bdfda2c 100644 --- a/src/test/groovy/io/seqera/wave/ratelimit/SpillwayRegistryControllerTest.groovy +++ b/src/test/groovy/io/seqera/wave/ratelimit/SpillwayRegistryControllerTest.groovy @@ -53,7 +53,7 @@ class SpillwayRegistryControllerTest extends Specification implements DockerRegi void 'should check rate limit in ip of anonymous manifest'() { when: - HttpRequest request = HttpRequest.GET("/v2/library/hello-world/manifests/latest").headers({h-> + HttpRequest request = HttpRequest.GET("/v2/library/hello-world/manifests/sha256:975f4b14f326b05db86e16de00144f9c12257553bba9484fed41f9b6f2257800").headers({h-> h.add('Accept', ContentType.DOCKER_MANIFEST_V2_TYPE) h.add('Accept', ContentType.DOCKER_MANIFEST_V1_JWS_TYPE) h.add('Accept', MediaType.APPLICATION_JSON)