mirror of
https://git.proxmox.com/git/proxmox
synced 2025-05-29 20:30:37 +00:00
api-macro: add test for access w/o a description
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
62f3c7d2d9
commit
5ae320f577
@ -143,6 +143,9 @@ fn create_ticket_schema_check() {
|
||||
},
|
||||
},
|
||||
},
|
||||
access: {
|
||||
permission: &Permission::World,
|
||||
},
|
||||
protected: true,
|
||||
)]
|
||||
/// Create or verify authentication ticket.
|
||||
@ -207,6 +210,7 @@ fn create_ticket_direct_schema_check() {
|
||||
)
|
||||
.schema(),
|
||||
)
|
||||
.access(None, &Permission::World)
|
||||
.protected(true);
|
||||
assert_eq!(TEST_METHOD, API_METHOD_CREATE_TICKET_DIRECT);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user