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 25, 2024
1 parent 360bbf0 commit 05e04a5
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 05e04a5

Please sign in to comment.