From c31fabdebddbd434a9fcff57cb36613f52ebc6a2 Mon Sep 17 00:00:00 2001 From: Lain Soykaf Date: Tue, 25 Feb 2025 17:08:21 +0400 Subject: Mogrify/Mogrifun: Asyncify --- test/test_helper.exs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/test_helper.exs') 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 -- cgit v1.2.3