Browse Source

test(news): remove parallel from test with race

jguer 3 năm trước cách đây
mục cha
commit
b2a728151e
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      pkg/news/news_test.go

+ 0 - 2
pkg/news/news_test.go

@@ -101,7 +101,6 @@ intervention when you hit this message:</p>
 `
 
 func TestPrintNewsFeed(t *testing.T) {
-	t.Parallel()
 	layout := "2006-01-02"
 	str := "2020-04-13"
 	lastNewsTime, _ := time.Parse(layout, str)
@@ -151,7 +150,6 @@ func TestPrintNewsFeed(t *testing.T) {
 // WHEN there's a news posted at 18h00
 // THEN it should still be printed
 func TestPrintNewsFeedSameDay(t *testing.T) {
-	t.Parallel()
 	str := "2020-04-14T13:04:05Z"
 	lastNewsTime, _ := time.Parse(time.RFC3339, str)