about summary refs log tree commit diff
path: root/context/context_test.go
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2018-06-26T10·25+0200
committerVincent Ambo <github@tazj.in>2018-06-26T19·06+0200
commit4a6f087fbfe84731db0a8e5084364ad0f6ad5212 (patch)
tree1a04a5b946457b3d6da057ae269bdd589aca7e74 /context/context_test.go
parent2db3bbcdbe0d4760cb16a847d8a56f2a4319316e (diff)
chore(context): Remove previous value override test
Diffstat (limited to 'context/context_test.go')
-rw-r--r--context/context_test.go23
1 files changed, 0 insertions, 23 deletions
diff --git a/context/context_test.go b/context/context_test.go
index 0af9dfc1c22d..e700cf41978a 100644
--- a/context/context_test.go
+++ b/context/context_test.go
@@ -208,29 +208,6 @@ func TestImportValuesLoading(t *testing.T) {
 	}
 }
 
-func TestValuesOverride(t *testing.T) {
-	ctx, err := LoadContext("testdata/import-vars-override.yaml", &noExplicitVars)
-	if err != nil {
-		t.Error(err)
-		t.Fail()
-	}
-
-	expected := map[string]interface{}{
-		"override": float64(3),
-		"music": map[string]interface{}{
-			"artist": "Pallida",
-			"track":  "Tractor Beam",
-		},
-		"place":     "Oslo",
-		"globalVar": "very global!",
-	}
-
-	if !reflect.DeepEqual(ctx.ResourceSets[0].Values, expected) {
-		t.Error("Expected overrides after loading imports did not match!")
-		t.Fail()
-	}
-}
-
 func TestExplicitPathLoading(t *testing.T) {
 	ctx, err := LoadContext("testdata/explicit-path.yaml", &noExplicitVars)
 	if err != nil {