Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit c88e568

Browse files
committed
fix: typo & unsed warning
1 parent ec537cd commit c88e568

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/mastani_server_web/mutation/cms/cms_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ defmodule MastaniServer.Test.Mutation.CMS.Basic do
44
alias MastaniServer.CMS
55
alias MastaniServer.Statistics
66

7-
alias CMS.{Category, Community, CommunityEditor, Passport, Tag, Thread}
7+
alias CMS.{Category, Community, CommunityEditor, Passport, Tag}
88

99
alias Helper.ORM
1010

test/mastani_server_web/query/cms/cms_test.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ defmodule MastaniServer.Test.Query.CMS.Basic do
33

44
alias MastaniServer.Accounts.User
55
alias MastaniServer.CMS
6-
alias CMS.{Community, Thread, Category}
6+
alias CMS.{Community, Category}
77

88
setup do
99
guest_conn = simu_conn(:guest)
@@ -70,7 +70,7 @@ defmodule MastaniServer.Test.Query.CMS.Basic do
7070
~m(guest_conn community)a do
7171
{:ok, threads} = db_insert_multi(:thread, 5)
7272

73-
Enum.map(threads, fn thead ->
73+
Enum.map(threads, fn thread ->
7474
CMS.set_thread(community, thread)
7575
end)
7676

0 commit comments

Comments
 (0)