diff options
Diffstat (limited to 'test/support')
| -rw-r--r-- | test/support/channel_case.ex | 2 | ||||
| -rw-r--r-- | test/support/conn_case.ex | 3 | 
2 files changed, 3 insertions, 2 deletions
diff --git a/test/support/channel_case.ex b/test/support/channel_case.ex index d63a0f06b..114184a9f 100644 --- a/test/support/channel_case.ex +++ b/test/support/channel_case.ex @@ -22,7 +22,7 @@ defmodule Pleroma.Web.ChannelCase do    using do      quote do        # Import conveniences for testing with channels -      use Phoenix.ChannelTest +      import Phoenix.ChannelTest        use Pleroma.Tests.Helpers        # The default endpoint for testing diff --git a/test/support/conn_case.ex b/test/support/conn_case.ex index 7ef681258..9316a82e4 100644 --- a/test/support/conn_case.ex +++ b/test/support/conn_case.ex @@ -22,7 +22,8 @@ defmodule Pleroma.Web.ConnCase do    using do      quote do        # Import conveniences for testing with connections -      use Phoenix.ConnTest +      import Plug.Conn +      import Phoenix.ConnTest        use Pleroma.Tests.Helpers        import Pleroma.Web.Router.Helpers  | 
