Fix tests relying on old behavior. Use the Upload.base_url, Luke.
This commit is contained in:
parent
c35e6fb516
commit
e87cca97e6
3 changed files with 13 additions and 8 deletions
|
|
@ -196,11 +196,11 @@ defmodule Pleroma.User.BackupTest do
|
|||
describe "it uploads and deletes a backup archive" do
|
||||
setup do
|
||||
clear_config(Pleroma.Uploaders.S3,
|
||||
bucket: "test_bucket",
|
||||
public_endpoint: "https://s3.amazonaws.com"
|
||||
bucket: "test_bucket"
|
||||
)
|
||||
|
||||
clear_config([Pleroma.Upload, :uploader])
|
||||
clear_config([Pleroma.Upload, base_url: "https://s3.amazonaws.com"])
|
||||
|
||||
user = insert(:user, %{nickname: "cofe", name: "Cofe", ap_id: "http://cofe.io/users/cofe"})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue