mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-13 22:52:22 +00:00
increase test coverage :D
This commit is contained in:
@@ -35,6 +35,15 @@ async fn test_principal_resource(
|
|||||||
simplified_home_set: false,
|
simplified_home_set: false,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// We don't have any calendars here
|
||||||
|
assert!(
|
||||||
|
service
|
||||||
|
.get_members(&("user".to_owned(),))
|
||||||
|
.await
|
||||||
|
.unwrap()
|
||||||
|
.is_empty()
|
||||||
|
);
|
||||||
|
|
||||||
assert!(matches!(
|
assert!(matches!(
|
||||||
service
|
service
|
||||||
.get_resource(&("invalid-user".to_owned(),), true)
|
.get_resource(&("invalid-user".to_owned(),), true)
|
||||||
|
|||||||
Reference in New Issue
Block a user