summaryrefslogtreecommitdiffstats
path: root/server/src/db/comment.rs
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/db/comment.rs')
-rw-r--r--server/src/db/comment.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/src/db/comment.rs b/server/src/db/comment.rs
index 32aa4de9..64532b83 100644
--- a/server/src/db/comment.rs
+++ b/server/src/db/comment.rs
@@ -179,6 +179,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();