Add test for search actor

This commit is contained in:
Kitaiti Makoto
2021-01-16 16:39:12 +09:00
parent 42fb0cf825
commit 6c1dd6608d
3 changed files with 137 additions and 12 deletions
-6
View File
@@ -1171,12 +1171,6 @@ pub(crate) mod tests {
vec![admin, user, other]
}
pub(crate) fn clear_users(conn: &Conn) {
diesel::delete(crate::schema::users::table)
.execute(conn)
.unwrap();
}
#[test]
fn find_by() {
let r = rockets();