diff --git a/experiments/compositions/composition/tests/data/TestSimpleExpanderInvalid/input.yaml b/experiments/compositions/composition/tests/data/TestSimpleExpanderInvalid/input.yaml index 486b3eedcf..d319fa3bfe 100644 --- a/experiments/compositions/composition/tests/data/TestSimpleExpanderInvalid/input.yaml +++ b/experiments/compositions/composition/tests/data/TestSimpleExpanderInvalid/input.yaml @@ -132,24 +132,3 @@ spec: name: {{ managedProject }} billingAccountRef: "010101-ABABCD-BCAB11" folderRef: "000000111100" ---- -apiVersion: v1 -kind: Namespace -metadata: - name: team-a ---- -apiVersion: composition.google.com/v1alpha1 -kind: Context -metadata: - name: context - namespace: team-a -spec: - project: proj-a ---- -apiVersion: facade.foocorp.com/v1alpha1 -kind: PConfig -metadata: - name: team-a-config - namespace: team-a -spec: - project: proj-a \ No newline at end of file diff --git a/experiments/compositions/composition/tests/data/TestSimpleExpanderVersionInvalid/input.yaml b/experiments/compositions/composition/tests/data/TestSimpleExpanderVersionInvalid/input.yaml index 897fa1decf..f463915f92 100644 --- a/experiments/compositions/composition/tests/data/TestSimpleExpanderVersionInvalid/input.yaml +++ b/experiments/compositions/composition/tests/data/TestSimpleExpanderVersionInvalid/input.yaml @@ -132,24 +132,3 @@ spec: name: {{ managedProject }} billingAccountRef: "010101-ABABCD-BCAB11" folderRef: "000000111100" ---- -apiVersion: v1 -kind: Namespace -metadata: - name: team-a ---- -apiVersion: composition.google.com/v1alpha1 -kind: Context -metadata: - name: context - namespace: team-a -spec: - project: proj-a ---- -apiVersion: facade.foocorp.com/v1alpha1 -kind: PConfig -metadata: - name: team-a-config - namespace: team-a -spec: - project: proj-a \ No newline at end of file diff --git a/experiments/compositions/composition/tests/testcases/simple_test.go b/experiments/compositions/composition/tests/testcases/simple_test.go index 26e0d845fb..7a7576dea6 100644 --- a/experiments/compositions/composition/tests/testcases/simple_test.go +++ b/experiments/compositions/composition/tests/testcases/simple_test.go @@ -367,10 +367,6 @@ func TestSimpleExpanderInvalid(t *testing.T) { composition := utils.GetCompositionObj("default", "projectconfigmap") condition := utils.GetErrorCondition("ValidationFailed", "") s.C.MustHaveCondition(composition, condition, scenario.CompositionReconcileTimeout) - - plan := utils.GetPlanObj("team-a", "pconfigs-team-a-config") - condition = utils.GetErrorCondition("MissingExpanderCR", "") - s.C.MustHaveCondition(plan, condition, scenario.CompositionReconcileTimeout) } func TestSimpleExpanderVersionInvalid(t *testing.T) { @@ -381,10 +377,6 @@ func TestSimpleExpanderVersionInvalid(t *testing.T) { composition := utils.GetCompositionObj("default", "projectconfigmap") condition := utils.GetErrorCondition("ValidationFailed", "") s.C.MustHaveCondition(composition, condition, scenario.CompositionReconcileTimeout) - - plan := utils.GetPlanObj("team-a", "pconfigs-team-a-config") - condition = utils.GetErrorCondition("VersionNotFound", "") - s.C.MustHaveCondition(plan, condition, scenario.CompositionReconcileTimeout) } func TestSimpleCompositionExpanderLoggingEnabled(t *testing.T) {