Fix tests

This commit is contained in:
Tim Jacomb 2025-10-02 15:38:57 +01:00
parent a21a321609
commit 9b018a173e
No known key found for this signature in database
GPG Key ID: D40F4AD2F55AF15F
2 changed files with 1 additions and 5 deletions

View File

@ -1,8 +1,7 @@
package io.jenkins.plugins.casc.permissions;
public enum Action {
VIEW_CONFIGURATION("View Configuration"),
DOWNLOAD_CONFIGURATION("Download Configuration"),
VIEW_CONFIGURATION("Export configuration"),
APPLY_NEW_CONFIGURATION("Apply new configuration"),
RELOAD_EXISTING_CONFIGURATION("Reload existing configuration"),
;

View File

@ -1,7 +1,6 @@
package io.jenkins.plugins.casc.permissions;
import static io.jenkins.plugins.casc.permissions.Action.APPLY_NEW_CONFIGURATION;
import static io.jenkins.plugins.casc.permissions.Action.DOWNLOAD_CONFIGURATION;
import static io.jenkins.plugins.casc.permissions.Action.RELOAD_EXISTING_CONFIGURATION;
import static io.jenkins.plugins.casc.permissions.Action.VIEW_CONFIGURATION;
import static java.lang.String.format;
@ -62,7 +61,6 @@ class PermissionsTest {
SYSTEM_READER,
ImmutableMap.<Action, Boolean>builder()
.put(VIEW_CONFIGURATION, true)
.put(DOWNLOAD_CONFIGURATION, true)
.put(APPLY_NEW_CONFIGURATION, false)
.put(RELOAD_EXISTING_CONFIGURATION, false)
.build());
@ -106,7 +104,6 @@ class PermissionsTest {
ADMIN,
ImmutableMap.<Action, Boolean>builder()
.put(VIEW_CONFIGURATION, true)
.put(DOWNLOAD_CONFIGURATION, true)
.put(APPLY_NEW_CONFIGURATION, true)
.put(RELOAD_EXISTING_CONFIGURATION, true)
.build());