Skip to content

Commit 0ef9174

Browse files
committed
style(mix): format
1 parent 436c7d8 commit 0ef9174

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

test/epochtalk_server_web/controllers/role_controller_test.exs

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ defmodule EpochtalkServerWeb.RoleControllerTest do
8585
"watchThread" => %{"allow" => true}
8686
}
8787
}
88+
8889
initial_newbie_priority_restrictions = nil
8990

9091
newbie_role = roles |> Enum.at(6)
@@ -232,10 +233,11 @@ defmodule EpochtalkServerWeb.RoleControllerTest do
232233

233234
@tag authenticated: :admin
234235
test "does not modify a role's priority_restrictions when input is invalid", %{conn: conn} do
235-
initial_newbie_priority_restrictions = get(conn, Routes.role_path(conn, :all))
236-
|> json_response(200)
237-
|> Enum.at(6)
238-
|> Map.get("priority_restrictions")
236+
initial_newbie_priority_restrictions =
237+
get(conn, Routes.role_path(conn, :all))
238+
|> json_response(200)
239+
|> Enum.at(6)
240+
|> Map.get("priority_restrictions")
239241

240242
invalid_modified_newbie_priority_restrictions = ""
241243

@@ -292,10 +294,11 @@ defmodule EpochtalkServerWeb.RoleControllerTest do
292294

293295
@tag authenticated: :admin
294296
test "does not modify a user's permissions when input is invalid", %{conn: conn} do
295-
initial_newbie_permissions = get(conn, Routes.role_path(conn, :all))
296-
|> json_response(200)
297-
|> Enum.at(6)
298-
|> Map.get("permissions")
297+
initial_newbie_permissions =
298+
get(conn, Routes.role_path(conn, :all))
299+
|> json_response(200)
300+
|> Enum.at(6)
301+
|> Map.get("permissions")
299302

300303
invalid_modified_newbie_permissions = ""
301304

0 commit comments

Comments
 (0)