test: Remove flaky time check from test_list_from()

the rendered time output seems different on different systems and timezomes,
eg. on my local machine, it is
`Sent: 2024.03.20 10:00:01 ` and not `Sent: 2024.03.20 09:00:01`,
maybe because of winter/summer time, idk.

as the gist of the test is to check the name,
however, i just removed the whole time check.
This commit is contained in:
B. Petersen
2024-03-27 16:56:33 +01:00
committed by bjoern
parent ebd097bdbe
commit 0155d93622

View File

@@ -4408,7 +4408,7 @@ async fn test_list_from() -> Result<()> {
"clubinfo@donotreply.oeamtc.at"
);
let info = msg.id.get_info(t).await?;
assert!(info.contains("Sent: 2024.03.20 09:00:01 by ~ÖAMTC (clubinfo@donotreply.oeamtc.at)"));
assert!(info.contains(" by ~ÖAMTC (clubinfo@donotreply.oeamtc.at)"));
Ok(())
}