File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
trino-aws-proxy/src/test/java/io/trino/aws/proxy/server Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,12 @@ public class TestHttpChunked
8282 private static final String TEST_CONTENT_TYPE = "text/plain;charset=utf-8" ;
8383 private static final Credential VALID_CREDENTIAL = new Credential (UUID .randomUUID ().toString (), UUID .randomUUID ().toString ());
8484
85+ @ BeforeEach
86+ public void setupCredentials ()
87+ {
88+ credentialsRolesProvider .addCredentials (new IdentityCredential (VALID_CREDENTIAL ));
89+ }
90+
8591 @ Inject
8692 public TestHttpChunked (
8793 TestingHttpServer httpServer ,
@@ -98,12 +104,6 @@ public TestHttpChunked(
98104 this .storageClient = requireNonNull (storageClient , "storageClient is null" );
99105 }
100106
101- @ BeforeEach
102- public void setupCredentials ()
103- {
104- credentialsRolesProvider .addCredentials (new IdentityCredential (VALID_CREDENTIAL ));
105- }
106-
107107 @ AfterEach
108108 public void cleanupStorage ()
109109 {
You can’t perform that action at this time.
0 commit comments