Skip to content

Commit

Permalink
fix test in travis
Browse files Browse the repository at this point in the history
  • Loading branch information
jarnaiz committed Oct 24, 2015
1 parent 19123b1 commit f405e66
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/test/java/com/upplication/s3fs/FileSystemProviderIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f405e66

Please sign in to comment.