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.

Commit584bea6

Browse files
committed
test(blog): fix thread arg && clean up
1 parent6da3bf3 commit584bea6

File tree

6 files changed

+9
-11
lines changed

6 files changed

+9
-11
lines changed

‎test/groupher_server/cms/comments/repo_comment_test.exs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,6 @@ defmodule GroupherServer.Test.CMS.Comments.RepoComment do
404404
assertresults.total_count==total_count+1
405405
end
406406

407-
@tag:wip
408407
test"paged article comments folded flag should be false",~m(user repo)ado
409408
total_count=30
410409
page_number=1

‎test/groupher_server_web/mutation/cms/comments/blog_comment_test.exs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ defmodule GroupherServer.Test.Mutation.Comments.BlogComment do
116116
}
117117
}
118118
"""
119-
@tag:wip
119+
120120
test"login user can upvote a exsit blog comment",~m(blog user guest_conn user_conn)ado
121121
{:ok,comment}=CMS.create_article_comment(:blog,blog.id,"blog comment",user)
122122
variables=%{id:comment.id}
@@ -141,7 +141,7 @@ defmodule GroupherServer.Test.Mutation.Comments.BlogComment do
141141
}
142142
}
143143
"""
144-
@tag:wip
144+
145145
test"login user can undo upvote a exsit blog comment",~m(blog user guest_conn user_conn)ado
146146
{:ok,comment}=CMS.create_article_comment(:blog,blog.id,"blog comment",user)
147147
variables=%{id:comment.id}

‎test/groupher_server_web/mutation/cms/comments/job_comment_test.exs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ defmodule GroupherServer.Test.Mutation.Comments.JobComment do
116116
}
117117
}
118118
"""
119-
@tag:wip
119+
120120
test"login user can upvote a exsit job comment",~m(job user guest_conn user_conn)ado
121121
{:ok,comment}=CMS.create_article_comment(:job,job.id,"job comment",user)
122122
variables=%{id:comment.id}
@@ -141,7 +141,7 @@ defmodule GroupherServer.Test.Mutation.Comments.JobComment do
141141
}
142142
}
143143
"""
144-
@tag:wip
144+
145145
test"login user can undo upvote a exsit job comment",~m(job user guest_conn user_conn)ado
146146
{:ok,comment}=CMS.create_article_comment(:job,job.id,"job comment",user)
147147
variables=%{id:comment.id}

‎test/groupher_server_web/mutation/cms/comments/post_comment_test.exs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ defmodule GroupherServer.Test.Mutation.Comments.PostComment do
116116
}
117117
}
118118
"""
119-
@tag:wip
119+
120120
test"login user can upvote a exsit post comment",~m(post user guest_conn user_conn)ado
121121
{:ok,comment}=CMS.create_article_comment(:post,post.id,"post comment",user)
122122
variables=%{id:comment.id}
@@ -141,7 +141,7 @@ defmodule GroupherServer.Test.Mutation.Comments.PostComment do
141141
}
142142
}
143143
"""
144-
@tag:wip
144+
145145
test"login user can undo upvote a exsit post comment",~m(post user guest_conn user_conn)ado
146146
{:ok,comment}=CMS.create_article_comment(:post,post.id,"post comment",user)
147147
variables=%{id:comment.id}

‎test/groupher_server_web/mutation/cms/comments/repo_comment_test.exs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ defmodule GroupherServer.Test.Mutation.Comments.RepoComment do
116116
}
117117
}
118118
"""
119-
@tag:wip
119+
120120
test"login user can upvote a exsit repo comment",~m(repo user guest_conn user_conn)ado
121121
{:ok,comment}=CMS.create_article_comment(:repo,repo.id,"repo comment",user)
122122
variables=%{id:comment.id}
@@ -141,7 +141,7 @@ defmodule GroupherServer.Test.Mutation.Comments.RepoComment do
141141
}
142142
}
143143
"""
144-
@tag:wip
144+
145145
test"login user can undo upvote a exsit repo comment",~m(repo user guest_conn user_conn)ado
146146
{:ok,comment}=CMS.create_article_comment(:repo,repo.id,"repo comment",user)
147147
variables=%{id:comment.id}

‎test/groupher_server_web/query/accounts/published/published_blogs_test.exs‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ defmodule GroupherServer.Test.Query.Accounts.Published.Blogs do
7575
}
7676
}
7777
"""
78-
7978
test"user can get paged published comments on blog",~m(guest_conn user blog)ado
8079
pub_comments=
8180
Enum.reduce(1..@publish_count,[],fn_,acc->
@@ -85,7 +84,7 @@ defmodule GroupherServer.Test.Query.Accounts.Published.Blogs do
8584

8685
random_comment_id=pub_comments|>Enum.random()|>Map.get(:id)|>to_string
8786

88-
variables=%{login:user.login,thread:"JOB",filter:%{page:1,size:20}}
87+
variables=%{login:user.login,thread:"BLOG",filter:%{page:1,size:20}}
8988

9089
results=guest_conn|>query_result(@query,variables,"pagedPublishedArticleComments")
9190

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp