diff options
author | Lain Soykaf <lain@lain.com> | 2025-03-10 16:04:46 +0400 |
---|---|---|
committer | Lain Soykaf <lain@lain.com> | 2025-03-10 16:04:46 +0400 |
commit | edcd816730f7961a5072f68fb67c464149e58a6c (patch) | |
tree | 5646c426308fc8d38bf1b694a5c448dd83ed0e60 /test/test_helper.exs | |
parent | 5ffc7d8c9d467438010628e18dea0a264c37ad26 (diff) | |
parent | 70a784e16a72426522c5045ec8281a59f0298ffd (diff) | |
download | pleroma-edcd816730f7961a5072f68fb67c464149e58a6c.tar.gz pleroma-edcd816730f7961a5072f68fb67c464149e58a6c.zip |
Merge branch 'assorted-test-fixes' into secfix
Diffstat (limited to 'test/test_helper.exs')
-rw-r--r-- | test/test_helper.exs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_helper.exs b/test/test_helper.exs index fed7ce8a7..94661353b 100644 --- a/test/test_helper.exs +++ b/test/test_helper.exs @@ -34,7 +34,13 @@ defmodule Pleroma.Test.StaticConfig do @behaviour Pleroma.Config.Getting @config Application.get_all_env(:pleroma) + @impl true def get(path, default \\ nil) do get_in(@config, path) || default end + + @impl true + def get!(path) do + get_in(@config, path) + end end |