1
0
mirror of https://github.com/Jguer/yay synced 2024-07-08 04:16:16 +00:00

test(news): remove parallel from test with race

This commit is contained in:
jguer 2021-09-09 09:03:48 +02:00
parent 4122716ea1
commit b2a728151e
No known key found for this signature in database
GPG Key ID: 6D6CC9BEA8556B35

View File

@ -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)