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") } }