This repository was archived by the owner on Nov 8, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +4
-12
lines changed Expand file tree Collapse file tree 4 files changed +4
-12
lines changed Original file line number Diff line number Diff 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 ,
Original file line number Diff line number Diff 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 ,
Original file line number Diff line number Diff 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 ,
Original file line number Diff line number Diff 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 ,
You can’t perform that action at this time.
0 commit comments