mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-29 09:29:11 +00:00
fix integration tests
This commit is contained in:
@@ -88,7 +88,13 @@ async fn test_caldav_calendar(
|
||||
let response = app.clone().oneshot(request).await.unwrap();
|
||||
assert_eq!(response.status(), StatusCode::MULTI_STATUS);
|
||||
let body = response.extract_string().await;
|
||||
insta::assert_snapshot!(body);
|
||||
insta::with_settings!({
|
||||
filters => vec![
|
||||
(r"<PUSH:topic>[0-9a-f-]+</PUSH:topic>", "[PUSH_TOPIC]")
|
||||
]
|
||||
}, {
|
||||
insta::assert_snapshot!(body);
|
||||
});
|
||||
|
||||
let mut request = Request::builder()
|
||||
.method("DELETE")
|
||||
|
||||
Reference in New Issue
Block a user