From 9d3b489f6d5271f672209dc49ec23e9f364ee894 Mon Sep 17 00:00:00 2001 From: Maxim Grischenko Date: Tue, 24 Sep 2024 11:43:15 +0200 Subject: [PATCH] #221 fix test --- .../de/adorsys/datasafe/simple/adapter/spring/InjectionIT.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datasafe-simple-adapter/datasafe-simple-adapter-spring/src/test/java/de/adorsys/datasafe/simple/adapter/spring/InjectionIT.java b/datasafe-simple-adapter/datasafe-simple-adapter-spring/src/test/java/de/adorsys/datasafe/simple/adapter/spring/InjectionIT.java index 76b2c0505..be553a90f 100644 --- a/datasafe-simple-adapter/datasafe-simple-adapter-spring/src/test/java/de/adorsys/datasafe/simple/adapter/spring/InjectionIT.java +++ b/datasafe-simple-adapter/datasafe-simple-adapter-spring/src/test/java/de/adorsys/datasafe/simple/adapter/spring/InjectionIT.java @@ -103,7 +103,7 @@ private AbsoluteLocation getPrivateResourceAbsoluteLocation(DFS } if (dfsCredentials instanceof AmazonS3DFSCredentials) { AmazonS3DFSCredentials a = (AmazonS3DFSCredentials) dfsCredentials; - return new AbsoluteLocation<>(BasePrivateResource.forPrivate(new URI(a.getUrl() + "/" + a.getRootBucket()))); + return new AbsoluteLocation<>(BasePrivateResource.forPrivate(new URI(a.getUrl() + "/" + a.getRegion() + "/" + a.getRootBucket()))); } throw new TestException("NYI"); }