Skip to content

Commit

Permalink
fixup! chore: add tests for configuring persistent workspace home dir…
Browse files Browse the repository at this point in the history
…ectory config
  • Loading branch information
AObuchow committed Jul 20, 2023
1 parent 788df71 commit a63572c
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions pkg/deploy/dev-workspace-config/dev_workspace_config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1668,27 +1668,6 @@ func TestReconcileDevWorkspaceConfigPersistUserHome(t *testing.T) {
},
},
},
{
name: "Set DevWorkspaceOperatorConfig PersistUserHome disabled (default) when PersistUserHome config is defined but PersistUserHome.enabled is nil",
cheCluster: &chev2.CheCluster{
ObjectMeta: metav1.ObjectMeta{
Namespace: "eclipse-che",
Name: "eclipse-che",
},
Spec: chev2.CheClusterSpec{
DevEnvironments: chev2.CheClusterDevEnvironments{
PersistUserHome: &chev2.PersistentHomeConfig{},
},
},
},
expectedOperatorConfig: &controllerv1alpha1.OperatorConfiguration{
Workspace: &controllerv1alpha1.WorkspaceConfig{
PersistUserHome: &controllerv1alpha1.PersistentHomeConfig{
Enabled: pointer.Bool(false),
},
},
},
},
{
name: "Set DevWorkspaceOperatorConfig PersistUserHome enabled when PersistUserHome is enabled",
cheCluster: &chev2.CheCluster{
Expand Down

0 comments on commit a63572c

Please sign in to comment.