From ca2ca373927db6d5cc9e8fb41607044f6b1633b3 Mon Sep 17 00:00:00 2001 From: Ladislav Sulak Date: Wed, 18 Oct 2023 16:28:14 +0200 Subject: [PATCH] #2195: fixing unit tests --- .../co/absa/enceladus/utils/fs/FileSystemUtilsSpec.scala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/utils/src/test/scala/za/co/absa/enceladus/utils/fs/FileSystemUtilsSpec.scala b/utils/src/test/scala/za/co/absa/enceladus/utils/fs/FileSystemUtilsSpec.scala index 24e5e9d22..0ffb24ca2 100644 --- a/utils/src/test/scala/za/co/absa/enceladus/utils/fs/FileSystemUtilsSpec.scala +++ b/utils/src/test/scala/za/co/absa/enceladus/utils/fs/FileSystemUtilsSpec.scala @@ -29,13 +29,13 @@ class FileSystemUtilsSpec extends AnyFunSuiteLike with SparkTestBase { } test("s3 protocol recognition and bucket set") { - val fs = FileSystemUtils.getFileSystemFromPath("s3://my_bucket/my/path") - assert(fs.getUri.toString == "s3a://my_bucket") + val fs = FileSystemUtils.getFileSystemFromPath("s3://my-bucket/my/path") + assert(fs.getUri.toString == "s3://my-bucket") } test("s3a protocol recognition and bucket set") { - val fs = FileSystemUtils.getFileSystemFromPath("s3a://my_bucket/my/path") - assert(fs.getUri.toString == "s3a://my_bucket") + val fs = FileSystemUtils.getFileSystemFromPath("s3a://my-bucket/my/path") + assert(fs.getUri.toString == "s3a://my-bucket") } }