fix not compiling tests

This commit is contained in:
manuel 2023-01-08 16:30:13 +01:00
parent ba580a7342
commit 911268ad3d

View File

@ -67,13 +67,4 @@ impl FromStr for Tea {
}
}
impl Display for Tea {
fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
match &*self {
Tea::EverydayTea => write!(formatter, "{}", String::from("EverydayTea")),
Tea::BreakfastTea => write!(formatter, "{}", String::from("BreakfastTea")),
}
}
}
impl ActixAdminModelValidationTrait<ActiveModel> for Entity {}