defmodule DiogramosWeb.ChannelCase do
@moduledoc """
Test case for channel tests. Sets up the SQL sandbox the same way
`DiogramosWeb.ConnCase` does.
"""
use ExUnit.CaseTemplate
using do
quote do
import Phoenix.ChannelTest
import DiogramosWeb.ChannelCase
@endpoint DiogramosWeb.Endpoint
end
end
setup tags do
Diogramos.DataCase.setup_sandbox(tags)
:ok
end
end
neiam
/diogramos
diogramos
public · Issues · Pulls · Labels · Forks · Compare · Actions success · Badges · Packages
⭐
Log in to mark this repository.
415 B · text
History
dc2edab