Remove unused assert

This commit is contained in:
Billy Chan 2021-09-17 21:45:45 +08:00
parent 37d390e500
commit 6435b51d09
No known key found for this signature in database
GPG Key ID: A2D690CAC7DF3CC7

View File

@ -29,7 +29,5 @@ pub async fn create_log(db: &DatabaseConnection) -> Result<(), DbErr> {
assert_eq!(log.id.clone(), res.last_insert_id);
assert_eq!(Log::find().one(db).await?, Some(log.clone()));
assert!(false);
Ok(())
}