increase test coverage :D

This commit is contained in:
Lennart
2025-09-21 21:58:11 +02:00
parent b208fbaac6
commit 602c511c90

View File

@@ -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)