chibenwa commented on code in PR #3201:
URL: https://github.com/apache/james-project/pull/3201#discussion_r4090580540
##########
server/blob/blob-s3/src/test/java/org/apache/james/blob/objectstorage/aws/S3BlobStoreConfigurationTest.java:
##########
@@ -60,4 +60,18 @@ void shouldThrowWhenSSECEnableAndNoSSECConfiguration() {
.isInstanceOf(IllegalArgumentException.class)
.hasMessage("SSEC configuration is mandatory when SSEC is
enabled");
}
+
+ @Test
+ void shouldDefaultIfNoneMatchToTrue() {
+ S3BlobStoreConfiguration configuration =
S3BlobStoreConfiguration.builder()
+ .authConfiguration(AwsS3AuthConfiguration.builder()
+ .endpoint(Throwing.supplier(() -> new
URI("http://localhost:1234")).get())
+ .accessKeyId("accessKeyId")
+ .secretKey("secretKey1")
+ .build())
+ .region(Region.of("af-south-1"))
+ .build();
+
+
org.assertj.core.api.Assertions.assertThat(configuration.ifNoneMatchEnabled()).isTrue();
Review Comment:
Use an import
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]