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

Commit 8978ddc

Browse files
committed
chore: wip
1 parent 6714066 commit 8978ddc

File tree

4 files changed

+4
-12
lines changed

4 files changed

+4
-12
lines changed

test/groupher_server/cms/comments/blog_comment_test.exs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ defmodule GroupherServer.Test.CMS.Comments.BlogComment do
407407
test "paged article comments folded flag should be false", ~m(user blog)a do
408408
total_count = 30
409409
page_number = 1
410-
page_size = 10
410+
page_size = 35
411411

412412
all_comments =
413413
Enum.reduce(1..total_count, [], fn _, acc ->
@@ -416,8 +416,6 @@ defmodule GroupherServer.Test.CMS.Comments.BlogComment do
416416
acc ++ [comment]
417417
end)
418418

419-
Process.sleep(1000)
420-
421419
{:ok, paged_comments} =
422420
CMS.paged_article_comments(
423421
:blog,

test/groupher_server/cms/comments/job_comment_test.exs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ defmodule GroupherServer.Test.CMS.Comments.JobComment do
406406
test "paged article comments folded flag should be false", ~m(user job)a do
407407
total_count = 30
408408
page_number = 1
409-
page_size = 10
409+
page_size = 35
410410

411411
all_comments =
412412
Enum.reduce(1..total_count, [], fn _, acc ->
@@ -415,8 +415,6 @@ defmodule GroupherServer.Test.CMS.Comments.JobComment do
415415
acc ++ [comment]
416416
end)
417417

418-
Process.sleep(1000)
419-
420418
{:ok, paged_comments} =
421419
CMS.paged_article_comments(
422420
:job,

test/groupher_server/cms/comments/post_comment_test.exs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ defmodule GroupherServer.Test.CMS.Comments.PostComment do
407407
test "paged article comments folded flag should be false", ~m(user post)a do
408408
total_count = 30
409409
page_number = 1
410-
page_size = 10
410+
page_size = 35
411411

412412
all_comments =
413413
Enum.reduce(1..total_count, [], fn _, acc ->
@@ -416,8 +416,6 @@ defmodule GroupherServer.Test.CMS.Comments.PostComment do
416416
acc ++ [comment]
417417
end)
418418

419-
Process.sleep(1000)
420-
421419
{:ok, paged_comments} =
422420
CMS.paged_article_comments(
423421
:post,

test/groupher_server/cms/comments/repo_comment_test.exs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ defmodule GroupherServer.Test.CMS.Comments.RepoComment do
407407
test "paged article comments folded flag should be false", ~m(user repo)a do
408408
total_count = 30
409409
page_number = 1
410-
page_size = 10
410+
page_size = 35
411411

412412
all_comments =
413413
Enum.reduce(1..total_count, [], fn _, acc ->
@@ -416,8 +416,6 @@ defmodule GroupherServer.Test.CMS.Comments.RepoComment do
416416
acc ++ [comment]
417417
end)
418418

419-
Process.sleep(1000)
420-
421419
{:ok, paged_comments} =
422420
CMS.paged_article_comments(
423421
:repo,

0 commit comments

Comments
 (0)