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.

Commitc9df7eb

Browse files
committed
chore(article): adjust active_at test args
1 parente475ce7 commitc9df7eb

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ defmodule GroupherServer.Test.CMS.Comments.JobComment do
8484
Timex.shift(Timex.now(),days:-(active_period_days+1))|>Timex.to_datetime()
8585

8686
{:ok,job}=db_insert(:job,%{inserted_at:inserted_at})
87-
Process.sleep(2000)
87+
Process.sleep(3000)
8888
{:ok,_comment}=CMS.create_article_comment(:job,job.id,"job comment",user)
8989
{:ok,job}=ORM.find(Job,job.id)
9090

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ defmodule GroupherServer.Test.CMS.Comments.PostCommentReplies do
3232
assertexist_in?(replyed_comment,parent_comment.replies)
3333
end
3434

35-
@tag:wip
3635
test"deleted comment can not be reply",~m(post user user2)ado
3736
parent_content="parent comment"
3837
reply_content="reply comment"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ defmodule GroupherServer.Test.CMS.Comments.PostComment do
8484
Timex.shift(Timex.now(),days:-(active_period_days+1))|>Timex.to_datetime()
8585

8686
{:ok,post}=db_insert(:post,%{inserted_at:inserted_at})
87-
Process.sleep(2000)
87+
Process.sleep(3000)
8888
{:ok,_comment}=CMS.create_article_comment(:post,post.id,"post comment",user)
8989
{:ok,post}=ORM.find(Post,post.id)
9090

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ defmodule GroupherServer.Test.CMS.Comments.RepoComment do
8484
Timex.shift(Timex.now(),days:-(active_period_days+1))|>Timex.to_datetime()
8585

8686
{:ok,repo}=db_insert(:repo,%{inserted_at:inserted_at})
87-
Process.sleep(2000)
87+
Process.sleep(3000)
8888
{:ok,_comment}=CMS.create_article_comment(:repo,repo.id,"repo comment",user)
8989
{:ok,repo}=ORM.find(Repo,repo.id)
9090

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp