add tests for tera/log.rs

Closes #34
This commit is contained in:
2023-07-31 20:09:03 +02:00
parent 8b5be3fb41
commit 3730940aed
3 changed files with 164 additions and 5 deletions

View File

@ -86,7 +86,6 @@ pub fn routes() -> Vec<Route> {
#[cfg(test)]
mod test {
use chrono::NaiveDate;
use rocket::{
http::{ContentType, Status},
local::asynchronous::Client,
@ -94,7 +93,7 @@ mod test {
use sqlx::SqlitePool;
use crate::tera::admin::boat::Boat;
use crate::{model::trip::Trip, testdb};
use crate::testdb;
#[sqlx::test]
fn test_boat_index() {