Fix tests
This commit is contained in:
parent
a21a321609
commit
9b018a173e
|
|
@ -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"),
|
||||
;
|
||||
|
|
|
|||
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Reference in New Issue