autofix tests based on feedback from xunit analyzers (#1997)

This commit is contained in:
Brendan Forster
2019-09-16 19:46:40 -03:00
committed by GitHub
parent 61bd1d1018
commit 45bc5eced7
50 changed files with 222 additions and 232 deletions
@@ -69,7 +69,7 @@ namespace Octokit.Tests.Integration.Clients
new[] { "user" });
var error = await Assert.ThrowsAsync<ForbiddenException>(() => github.Authorization.Create(newAuthorization));
Assert.True(error.Message.Contains("username and password Basic Auth"));
Assert.Contains("username and password Basic Auth", error.Message);
}
[BasicAuthenticationTest(Skip = "See https://github.com/octokit/octokit.net/issues/1000 for issue to investigate this further")]