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