Skip to content

Commit

Permalink
fix: typo and formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
maschnetwork committed Jan 10, 2025
1 parent 456b70a commit f0d1f13
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@

import java.util.HashMap;
import java.util.Map;

import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import software.amazon.awssdk.auth.credentials.AwsCredentialsProvider;
import software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider;
Expand All @@ -29,7 +27,7 @@ public class EventBridgeCredentialsProviderFactoryTest {
"aws.eventbridge.eventbus.arn", "arn:aws:events:us-east-1:000000000000:event-bus/e2e");

@AfterEach
public final void clearSystemProperties(){
public final void clearSystemProperties() {
System.clearProperty("aws.configFile");
System.clearProperty("aws.sharedCredentialsFile");
}
Expand Down Expand Up @@ -80,7 +78,7 @@ public void shouldUseAwsCredentialsProviderByProvidedClass() {
// Testing wrapper functionality until the AWS SDK issue is solved:
// https://github.com/aws/aws-sdk-java-v2/issues/5635
public void shouldNotGetSDKClientExceptionWithNull() {
//Set path to non-existing full to force null pointer
// Set path to non-existing file to force null pointer
System.setProperty("aws.configFile", "/non/existing/file");
System.setProperty("aws.sharedCredentialsFile", "/non/existing/file");

Expand Down

0 comments on commit f0d1f13

Please sign in to comment.