Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commitc85886f

Browse files
committed
refactor(mailbox): clean up wip
1 parent9954878 commitc85886f

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

‎test/groupher_server/accounts/mailbx_test.exs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ defmodule GroupherServer.Test.Accounts.Mailbox do
1717
end
1818

1919
describe"mailbox status"do
20-
@tag:wip2
2120
test"can get default mailbox status",~m(user)ado
2221
{:ok,status}=Accounts.mailbox_status(user)
2322
assertstatus==@default_mailbox_status

‎test/groupher_server_web/mutation/accounts/mailbox_test.exs‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ defmodule GroupherServer.Test.Query.Accounts.Mailbox do
2222
}
2323
}
2424
"""
25-
# @tag :wip2
25+
#
2626
test"can mark read a mention",~m(user_conn user user2)ado
2727
{:ok,_}=mock_mention_for(user,user2)
2828

@@ -37,7 +37,6 @@ defmodule GroupherServer.Test.Query.Accounts.Mailbox do
3737
assertmention.read
3838
end
3939

40-
@tag:wip2
4140
test"can mark read a notification",~m(user_conn user user2)ado
4241
{:ok,_}=mock_notification_for(user,user2)
4342

@@ -60,7 +59,7 @@ defmodule GroupherServer.Test.Query.Accounts.Mailbox do
6059
}
6160
}
6261
"""
63-
@tag:wip2
62+
6463
test"can mark read all mentions",~m(user_conn user user2 user3)ado
6564
{:ok,_}=mock_mention_for(user,user2)
6665
{:ok,_}=mock_mention_for(user,user3)
@@ -75,7 +74,6 @@ defmodule GroupherServer.Test.Query.Accounts.Mailbox do
7574
assertmentions.total_count==2
7675
end
7776

78-
@tag:wip2
7977
test"can mark read all notifications",~m(user_conn user user2)ado
8078
{:ok,_}=mock_notification_for(user,user2)
8179

‎test/groupher_server_web/query/accounts/mailbox_test.exs‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ defmodule GroupherServer.Test.Query.Accounts.Mailbox do
2525
}
2626
}
2727
"""
28-
@tag:wip2
28+
2929
test"auth user can get it's own default mailbox status",~m(user_conn user)ado
3030
results=user_conn|>query_result(@query,%{login:user.login},"user")
3131
mailbox=results["mailbox"]
@@ -36,7 +36,6 @@ defmodule GroupherServer.Test.Query.Accounts.Mailbox do
3636
assertmailbox["unreadNotificationsCount"]==0
3737
end
3838

39-
@tag:wip2
4039
test"auth user can get latest mailbox status after being mentioned",
4140
~m(user_conn user user2)ado
4241
{:ok,_}=mock_mention_for(user,user2)
@@ -50,7 +49,6 @@ defmodule GroupherServer.Test.Query.Accounts.Mailbox do
5049
assertmailbox["unreadNotificationsCount"]==0
5150
end
5251

53-
@tag:wip2
5452
test"auth user can get latest mailbox status after being notified",
5553
~m(user_conn user user2)ado
5654
mock_notification_for(user,user2)
@@ -89,7 +87,7 @@ defmodule GroupherServer.Test.Query.Accounts.Mailbox do
8987
}
9088
}
9189
"""
92-
@tag:wip2
90+
9391
test"can get paged mentions",~m(user_conn user user2)ado
9492
mock_mention_for(user,user2)
9593

@@ -131,7 +129,6 @@ defmodule GroupherServer.Test.Query.Accounts.Mailbox do
131129
}
132130
"""
133131

134-
@tag:wip
135132
test"can get paged notifications",~m(user_conn user user2)ado
136133
mock_notification_for(user,user2)
137134

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp