Fix tests after rebasing

This commit is contained in:
Cosmin Cojocar 2017-06-10 09:03:02 +02:00
parent 5462d06ce3
commit 2c8ec115db

View File

@ -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)
} }