release_runtime_provider_test: Explicitely use non-existant config file
This commit is contained in:
parent
4e26fbda08
commit
8bc51288be
0
changelog.d/testfix-system-config-use.skip
Normal file
0
changelog.d/testfix-system-config-use.skip
Normal file
@ -10,7 +10,7 @@ defmodule Pleroma.Config.ReleaseRuntimeProviderTest do
|
|||||||
describe "load/2" do
|
describe "load/2" do
|
||||||
test "loads release defaults config and warns about non-existent runtime config" do
|
test "loads release defaults config and warns about non-existent runtime config" do
|
||||||
ExUnit.CaptureIO.capture_io(fn ->
|
ExUnit.CaptureIO.capture_io(fn ->
|
||||||
merged = ReleaseRuntimeProvider.load([], [])
|
merged = ReleaseRuntimeProvider.load([], config_path: "/var/empty/config.exs")
|
||||||
assert merged == Pleroma.Config.Holder.release_defaults()
|
assert merged == Pleroma.Config.Holder.release_defaults()
|
||||||
end) =~
|
end) =~
|
||||||
"!!! Config path is not declared! Please ensure it exists and that PLEROMA_CONFIG_PATH is unset or points to an existing file"
|
"!!! Config path is not declared! Please ensure it exists and that PLEROMA_CONFIG_PATH is unset or points to an existing file"
|
||||||
|
Loading…
Reference in New Issue
Block a user