Add a check to make sure hidden field is true.

hide_posts
Dessalines 2024-02-28 11:46:18 -05:00
parent 370ecc1ccf
commit 8ce7b6c496
1 changed files with 3 additions and 0 deletions

View File

@ -1520,6 +1520,9 @@ mod tests {
.await?;
assert_eq!(vec![POST_BY_BOT, POST], names(&post_listings_show_hidden));
// Make sure that hidden field is true.
assert!(&post_listings_show_hidden[0].hidden);
cleanup(data, pool).await
}