mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-08 03:33:56 +00:00
Fix tests after rebasing
This commit is contained in:
parent
5462d06ce3
commit
2c8ec115db
@ -608,15 +608,20 @@ func TestNewCloudFromJSON(t *testing.T) {
|
|||||||
|
|
||||||
// Test Backoff and Rate Limit defaults (json)
|
// Test Backoff and Rate Limit defaults (json)
|
||||||
func TestCloudDefaultConfigFromJSON(t *testing.T) {
|
func TestCloudDefaultConfigFromJSON(t *testing.T) {
|
||||||
config := `{}`
|
config := `{
|
||||||
|
"aadClientId": "--aad-client-id--",
|
||||||
|
"aadClientSecret": "--aad-client-secret--"
|
||||||
|
}`
|
||||||
|
|
||||||
validateEmptyConfig(t, config)
|
validateEmptyConfig(t, config)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Test Backoff and Rate Limit defaults (yaml)
|
// Test Backoff and Rate Limit defaults (yaml)
|
||||||
func TestCloudDefaultConfigFromYAML(t *testing.T) {
|
func TestCloudDefaultConfigFromYAML(t *testing.T) {
|
||||||
config := ``
|
config := `
|
||||||
|
aadClientId: --aad-client-id--
|
||||||
|
aadClientSecret: --aad-client-secret--
|
||||||
|
`
|
||||||
validateEmptyConfig(t, config)
|
validateEmptyConfig(t, config)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user