Add bucket_namespace to be extra certain truncated_namespace works
authorMark Felder <feld@feld.me>
Wed, 20 Jan 2021 22:33:00 +0000 (16:33 -0600)
committerMark Felder <feld@feld.me>
Wed, 20 Jan 2021 22:33:00 +0000 (16:33 -0600)
test/pleroma/uploaders/s3_test.exs

index 242dc0d50cbe836edbff346b82c74e66468a3ce5..9910525962c505dc68a49df81a0c051020141db7 100644 (file)
@@ -29,6 +29,7 @@ defmodule Pleroma.Uploaders.S3Test do
     test "it returns path without bucket when truncated_namespace set to ''" do
       Config.put([Pleroma.Uploaders.S3],
         bucket: "test_bucket",
+        bucket_namespace: "myaccount",
         truncated_namespace: ""
       )