Add the configuration for wallaby.

This commit is contained in:
2024-09-06 12:54:20 +03:00
parent ddf54a9264
commit 9e22e1bfde
3 changed files with 12 additions and 2 deletions
+3
View File
@@ -1,2 +1,5 @@
ExUnit.start()
Ecto.Adapters.SQL.Sandbox.mode(LinkShortener.Repo, :manual)
{:ok, _} = Application.ensure_all_started(:wallaby)
Application.put_env(:wallaby, :base_url, LinkShortenerWeb.Endpoint.url)