mirror of
https://github.com/ipedrazas/drone-helm.git
synced 2026-06-04 18:24:13 +08:00
fix TestHelmInitByAliyunStableRepo
This commit is contained in:
@@ -534,8 +534,8 @@ func TestHelmInitByAliyunStableRepo(t *testing.T) {
|
||||
expected := "init "
|
||||
if plugin.Config.StableRepoURL != "" {
|
||||
expected = expected + "--stable-repo-url"
|
||||
expected = expected + " " + plugin.Config.StableRepoURL
|
||||
}
|
||||
|
||||
if expected != result {
|
||||
t.Error("Helm cannot init for stable repository")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user