diff options
author | Stewart Stewart <stewinsalot@gmail.com> | 2016-12-01 15:53:45 -0800 |
---|---|---|
committer | Stewart Stewart <stewinsalot@gmail.com> | 2016-12-01 15:53:45 -0800 |
commit | 41e2e7c0e032490ccfae1e48e849b2dce7e18d12 (patch) | |
tree | dc4ae13765cbfecd4af8842eefaa16b51121c390 /src/test/scala/xyz/driver/core/FileTest.scala | |
parent | 03376ce4b563394c544ff2228a9a8146d0893b0c (diff) | |
parent | 116b4a75361d68f1eb035cf748fe5bc3c5f6a3d6 (diff) | |
download | driver-core-41e2e7c0e032490ccfae1e48e849b2dce7e18d12.tar.gz driver-core-41e2e7c0e032490ccfae1e48e849b2dce7e18d12.tar.bz2 driver-core-41e2e7c0e032490ccfae1e48e849b2dce7e18d12.zip |
Merge branch 'master' into decouple-codegen
Diffstat (limited to 'src/test/scala/xyz/driver/core/FileTest.scala')
-rw-r--r-- | src/test/scala/xyz/driver/core/FileTest.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/scala/xyz/driver/core/FileTest.scala b/src/test/scala/xyz/driver/core/FileTest.scala index aba79f7..57af1c2 100644 --- a/src/test/scala/xyz/driver/core/FileTest.scala +++ b/src/test/scala/xyz/driver/core/FileTest.scala @@ -51,7 +51,7 @@ class FileTest extends FlatSpec with Matchers with MockitoSugar { val s3ObjectMetadataMock = mock[ObjectMetadata] val amazonS3Mock = mock[AmazonS3] when(amazonS3Mock.listObjectsV2(any[ListObjectsV2Request]())).thenReturn(s3ResultsMock) - when(amazonS3Mock.putObject(testBucket, testFilePath.toString, sourceTestFile)).thenReturn(s3PutMock) + when(amazonS3Mock.putObject(testBucket.value, testFilePath.toString, sourceTestFile)).thenReturn(s3PutMock) when(amazonS3Mock.getObject(any[GetObjectRequest](), any[File]())).thenReturn(s3ObjectMetadataMock) val s3Storage = new S3Storage(amazonS3Mock, testBucket, scala.concurrent.ExecutionContext.global) |