From 076501e17ec4da64c4c0ec888dda00d0fd5e30c9 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Thu, 16 Apr 2020 08:41:22 +0200 Subject: [PATCH] proxmox-api-macro/tests/api1.rs: fix test case --- proxmox-api-macro/tests/api1.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxmox-api-macro/tests/api1.rs b/proxmox-api-macro/tests/api1.rs index a89b317e..607ee9e7 100644 --- a/proxmox-api-macro/tests/api1.rs +++ b/proxmox-api-macro/tests/api1.rs @@ -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); }