add tests for tera/admin/planned_event

Closes #20
This commit is contained in:
2023-07-31 21:29:03 +02:00
parent 8fa8e17c5a
commit da6a16cd66
4 changed files with 75 additions and 4 deletions

View File

@ -19,7 +19,7 @@ pub struct PlannedEvent {
pub planned_starting_time: String,
max_people: i64,
pub day: String,
notes: Option<String>,
pub notes: Option<String>,
pub allow_guests: bool,
trip_type_id: Option<i64>,
always_show: bool,

View File

@ -48,7 +48,7 @@ mod test {
#[sqlx::test]
fn test_find_true() {
let pool = testdb!();
let _ = testdb!();
}
//TODO: write tests