Skip to content

Commit

Permalink
Make "local" tests to use local chart
Browse files Browse the repository at this point in the history
  • Loading branch information
kpucynski committed Oct 21, 2019
1 parent a3dab31 commit e6209c0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion decision_maker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func Test_inspectUpgradeScenario(t *testing.T){
Name: "release1",
Namespace: "namespace",
Version: "1.0.0",
Chart: "/local/charts",
Chart: "./test_files/chart-test",
Enabled: true,
},
s: releaseState{
Expand Down
2 changes: 1 addition & 1 deletion helm_helpers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ func Test_getChartVersion(t *testing.T) {
Name: "release1",
Namespace: "namespace",
Version: "1.0.0",
Chart: "/local/charts",
Chart: "./test_files/chart-test",
Enabled: true,
},
},
Expand Down
3 changes: 3 additions & 0 deletions test_files/chart-test/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
apiVersion: v1
name: chart-test
version: 1.0.0

0 comments on commit e6209c0

Please sign in to comment.