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

Commit 50875c0

Browse files
committed
chore: clean up wip
1 parent e50c50d commit 50875c0

File tree

5 files changed

+1
-10
lines changed

5 files changed

+1
-10
lines changed

lib/mastani_server_web/schema.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ defmodule MastaniServerWeb.Schema do
33
scham index
44
"""
55
use Absinthe.Schema
6+
# use ApolloTracing
67

78
alias MastaniServerWeb.Middleware, as: M
89
alias MastaniServerWeb.Schema.{Account, CMS, Delivery, Statistics, Utils}

test/mastani_server/accounts/customization_test.exs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ defmodule MastaniServer.Test.Accounts.Customization do
3131
{:ok, _result} = Accounts.set_customization(user, :brainwash_free, true)
3232
end
3333

34-
@tag :wip
3534
test "user can set multiable customization at once", ~m(user)a do
3635
{:ok, result} =
3736
Accounts.set_customization(user, %{

test/mastani_server_web/mutation/accounts/customization_test.exs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ defmodule MastaniServer.Test.Mutation.Account.Customization do
3535
}
3636
}
3737
"""
38-
@tag :wip
3938
test "user can set customization", ~m(user_conn)a do
4039
# ownd_conn = simu_conn(:user, user)
4140
variables = %{

test/mastani_server_web/query/accounts/account_test.exs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,6 @@ defmodule MastaniServer.Test.Query.Account.Basic do
164164
}
165165
}
166166
"""
167-
@tag :wip
168167
test "guest user can get subscrubed community list and count", ~m(guest_conn user)a do
169168
variables = %{id: user.id}
170169
{:ok, communities} = db_insert_multi(:community, page_size())
@@ -189,7 +188,6 @@ defmodule MastaniServer.Test.Query.Account.Basic do
189188
assert subscribed_communities_count == page_size()
190189
end
191190

192-
@tag :wip2
193191
test "guest user can get subscrubed community list by index", ~m(guest_conn user)a do
194192
variables = %{id: user.id}
195193
{:ok, communities} = db_insert_multi(:community, page_size())
@@ -227,7 +225,6 @@ defmodule MastaniServer.Test.Query.Account.Basic do
227225
assert found_community_3["index"] == 1
228226
end
229227

230-
@tag :wip
231228
test "guest user can get subscrubed communities count of 20 at most", ~m(guest_conn user)a do
232229
variables = %{id: user.id}
233230
{:ok, communities} = db_insert_multi(:community, page_size() + 1)

test/mastani_server_web/query/accounts/customization_test.exs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,10 @@ defmodule MastaniServer.Test.Query.Account.Customization do
2727
contentDivider
2828
markViewed
2929
displayDensity
30-
sidebarCommunitiesIndex {
31-
community
32-
index
33-
}
3430
}
3531
}
3632
}
3733
"""
38-
@tag :wip
3934
test "user can have default customization configs", ~m(user_conn user)a do
4035
results = user_conn |> query_result(@query, %{}, "user")
4136

0 commit comments

Comments
 (0)