Skip to content

Commit

Permalink
fix: add bookmarkId in newsV2c tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Aylie Chou committed Jan 9, 2024
1 parent 1cc4c6a commit 7e9002e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/news_v2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ type testPost struct {
Writers []primitive.ObjectID
Category string
SubCategory string
BookmarkID string
}

func TestGetPostsByAuthors_AuthorIsAnEngineer(t *testing.T) {
Expand Down Expand Up @@ -346,7 +347,8 @@ func metaOfPostResponse(p testPost) string {
"published_date": "%s",
"is_external": false,
"tags": %s,
"full": false
"full": false,
"bookmarkId": ""
}
`,
p.ID.Hex(),
Expand Down

0 comments on commit 7e9002e

Please sign in to comment.