Skip to content

Commit

Permalink
♻️ 13th month corrected. Properties renamed.
Browse files Browse the repository at this point in the history
  • Loading branch information
sfi2022 committed Nov 27, 2024
1 parent aaa6e34 commit c155936
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion RELEASENOTES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Release-Notes
## Sprint 20 (12.11.2024 - 03.13.2024)
## Sprint 20 (12.11.2024 - 03.12.2024)
- Maven groupid an LHM Standard angepasst.
- S3CredentialProvider und EnvironmentReader als Bean.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@
public class S3CredentialProviderTest {

private EnvironmentReader environmentReader;
private S3BucketCredentialConfig properties;
private S3BucketCredentialConfig s3CredentialProperties;
private S3CredentialProvider s3CredentialProvider;
private final CamelContext camelContext = new DefaultCamelContext();

@BeforeEach
void setup() {
environmentReader = Mockito.mock(EnvironmentReader.class);
properties = Mockito.mock(S3BucketCredentialConfig.class);
s3CredentialProvider = new S3CredentialProvider(properties, environmentReader);
s3CredentialProperties = Mockito.mock(S3BucketCredentialConfig.class);
s3CredentialProvider = new S3CredentialProvider(s3CredentialProperties, environmentReader);
}

@Test
Expand Down Expand Up @@ -135,6 +135,6 @@ private void configureEnvironment(String bucketName, String envVar, String value
envVars.setSecretKeyEnvVar(envVar);
Map<String, S3BucketCredentialConfig.BucketCredentialConfig> map = new HashMap<>();
map.put(bucketName, envVars);
Mockito.when(properties.getBucketCredentialConfigs()).thenReturn(map);
Mockito.when(s3CredentialProperties.getBucketCredentialConfigs()).thenReturn(map);
}
}

0 comments on commit c155936

Please sign in to comment.