public void Single_NoCredentials() { var source = new NuGetSource { Source = "http://foo" }; var p = new TeamCitySingleCredentialProvider(source); AssertAuth(p); }
public void Single_Credentials() { var source = new NuGetSource { Source = "http://foo", Username = "******", Password = "******" }; var p = new TeamCitySingleCredentialProvider(source); AssertAuth(p, username: "******", password: "******"); }