forked from proxmox-mirrors/proxmox
proxmox-api-macro/tests/api1.rs: fix test case
This commit is contained in:
parent
382eb665c4
commit
076501e17e
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user