Skip to content

Commit

Permalink
update dependent test
Browse files Browse the repository at this point in the history
  • Loading branch information
Danny Petitclerc committed Aug 26, 2024
1 parent dce1264 commit 845e472
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/ksec/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ func TestMain(m *testing.M) {
Short: "A tool for managing Kubernetes Secret data",
}
initRootCmd(rootCmd)
secretsClient = models.MockNewSecretsClient("default")
mockConfig := models.MockClientConfig()
secretsClient, _ = models.MockNewSecretsClient(mockConfig, "default")
os.Exit(m.Run())
}

Expand Down

0 comments on commit 845e472

Please sign in to comment.