From 1abc34f30b5f8840eaaa617b275b86baaf4d2f1c Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Fri, 10 May 2019 18:30:52 +0100 Subject: [PATCH] [uploadselectionfilter] update call to uploadRequiredFilter --- .../scala/net/kemitix/s3thorp/UploadSelectionFilterSuite.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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") {