diff --git a/src/test/java/com/upplication/s3fs/FileSystemProviderIT.java b/src/test/java/com/upplication/s3fs/FileSystemProviderIT.java index e716848..7340234 100644 --- a/src/test/java/com/upplication/s3fs/FileSystemProviderIT.java +++ b/src/test/java/com/upplication/s3fs/FileSystemProviderIT.java @@ -40,6 +40,9 @@ public void setup() throws IOException { } provider = spy(new S3FileSystemProvider()); doReturn(buildFakeProps()).when(provider).loadAmazonProperties(); + // dont override with system envs that we can have setted, like travis + doReturn(false).when(provider).overloadPropertiesWithSystemEnv(any(Properties.class), anyString()); + doReturn(false).when(provider).overloadPropertiesWithSystemProps(any(Properties.class), anyString()); } @Test