[uploadselectionfilter] update call to uploadRequiredFilter

This commit is contained in:
Paul Campbell 2019-05-10 18:30:52 +01:00
parent 4c1cf89d51
commit 1abc34f30b

View file

@ -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") {