summaryrefslogtreecommitdiffstats
path: root/server/src/db/comment.rs
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2019-12-09 00:24:53 -0800
committerDessalines <tyhou13@gmx.com>2019-12-09 00:24:53 -0800
commitf0808a1116d648a4b8d3b1a6f275d95bc3a7e933 (patch)
treeb3aa383dda539205589805510ebc595e81a5ede5 /server/src/db/comment.rs
parent4c7da003a26b381a396d8e6e82686dc4e1f414c1 (diff)
Adding custom language setting.
- Fixes #319
Diffstat (limited to 'server/src/db/comment.rs')
-rw-r--r--server/src/db/comment.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/db/comment.rs b/server/src/db/comment.rs
index 64532b83..b7bd562d 100644
--- a/server/src/db/comment.rs
+++ b/server/src/db/comment.rs
@@ -181,6 +181,7 @@ mod tests {
theme: "darkly".into(),
default_sort_type: SortType::Hot as i16,
default_listing_type: ListingType::Subscribed as i16,
+ lang: "browser".into(),
};
let inserted_user = User_::create(&conn, &new_user).unwrap();