MCPcopy Create free account
hub / github.com/dfinity/orbit / test_validate_default_allow

Function test_validate_default_allow

core/station/impl/src/models/permission.rs:295–300  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

293
294 #[test]
295 fn test_validate_default_allow() {
296 disable_mock_resource_validation();
297
298 let allow = Allow::default();
299 allow.validate().expect("Default allow should be valid");
300 }
301
302 #[test]
303 fn fail_allow_with_non_existent_user() {

Callers

nothing calls this directly

Calls 2

validateMethod · 0.45

Tested by

no test coverage detected