diff --git a/src/test/scala/net/kemitix/s3thorp/UploadSelectionFilterSuite.scala b/src/test/scala/net/kemitix/s3thorp/UploadSelectionFilterSuite.scala index 0432226..2ad50a0 100644 --- a/src/test/scala/net/kemitix/s3thorp/UploadSelectionFilterSuite.scala +++ b/src/test/scala/net/kemitix/s3thorp/UploadSelectionFilterSuite.scala @@ -11,8 +11,9 @@ class UploadSelectionFilterSuite extends FunSpec { describe("uploadRequiredFilter") { val localFile = new File("src/test/scala/net/kemitix/s3thorp/test-file-for-hash.txt") val localHash = "0cbfe978783bd7950d5da4ff85e4af37" + val config = Config("bucket", "prefix", localFile.getParentFile) def invokeSubject(input: Either[File, S3MetaData]) = - uploadRequiredFilter(input).compile.toList.unsafeRunSync() + uploadRequiredFilter(config)(input).compile.toList.unsafeRunSync() describe("when supplied a file") { val input = Left(localFile) it("should be marked for upload") {