Changes to sqltoolsservice to allow empty password for SqlLogin (#333)

* Initial changes to allow empty passwords

* Added in empty password test

* Modifying test to work after my changes.
This commit is contained in:
Henry Phan
2017-05-02 10:17:44 -07:00
committed by GitHub
parent fb239ac956
commit f50f30b493
3 changed files with 12 additions and 8 deletions

View File

@@ -78,7 +78,7 @@ namespace Microsoft.SqlTools.Credentials.Contracts
public static void ValidateForSave(Credential credential)
{
ValidateForLookup(credential);
Validate.IsNotNullOrEmptyString("credential.Password", credential.Password);
Validate.IsNotNull("credential.Password", credential.Password);
}
}