diff options
Diffstat (limited to 'server/src/db/post.rs')
-rw-r--r-- | server/src/db/post.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/src/db/post.rs b/server/src/db/post.rs index 1bc6e11e..f185bd75 100644 --- a/server/src/db/post.rs +++ b/server/src/db/post.rs @@ -192,6 +192,8 @@ mod tests { updated: None, show_nsfw: false, theme: "darkly".into(), + default_sort_type: SortType::Hot as i16, + default_listing_type: ListingType::Subscribed as i16, }; let inserted_user = User_::create(&conn, &new_user).unwrap(); |