Commit 2c8ec115 authored by Cosmin Cojocar's avatar Cosmin Cojocar

Fix tests after rebasing

parent 5462d06c
...@@ -608,15 +608,20 @@ func TestNewCloudFromJSON(t *testing.T) { ...@@ -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)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment