Skip to content

Commit

Permalink
cleanup:test(ex/conn_case): reorder 'using' macro acording to `phx.ne…
Browse files Browse the repository at this point in the history
…w` template
  • Loading branch information
firestack committed Oct 21, 2024
1 parent 85b4ce9 commit 6ee83f4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/support/conn_case.ex
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ defmodule SkateWeb.ConnCase do

using do
quote do
# Import conveniences for testing with connections
import Plug.Conn
import Phoenix.ConnTest
alias SkateWeb.Router.Helpers, as: Routes

# The default endpoint for testing
@endpoint SkateWeb.Endpoint

use SkateWeb, :verified_routes

# Import conveniences for testing with connections
import Plug.Conn
import Phoenix.ConnTest
import SkateWeb.ConnCase
end
end

Expand Down

0 comments on commit 6ee83f4

Please sign in to comment.