proxmox-api-macro/tests/api1.rs: fix test case

This commit is contained in:
Dietmar Maurer 2020-04-16 08:41:22 +02:00
parent 382eb665c4
commit 076501e17e

View File

@ -108,7 +108,7 @@ fn create_ticket_schema_check() {
)
.schema(),
)
.access("Only root can access this.", &Permission::Superuser)
.access(Some("Only root can access this."), &Permission::Superuser)
.protected(true);
assert_eq!(TEST_METHOD, API_METHOD_CREATE_TICKET);
}