Skip to content

Commit b505c8d

Browse files
committed
update
1 parent 3704d9a commit b505c8d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

trino-aws-proxy/src/test/java/io/trino/aws/proxy/server/TestHttpChunked.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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
{

0 commit comments

Comments
 (0)