mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-04 19:26:51 +00:00
autofix tests based on feedback from xunit analyzers (#1997)
This commit is contained in:
@@ -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")]
|
||||
|
||||
Reference in New Issue
Block a user