mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-06 20:13:40 +00:00
i have no idea why this test is even passing on the build server
This commit is contained in:
@@ -42,8 +42,7 @@ public class OauthClientTests
|
||||
|
||||
var result = client.GetGitHubLoginUrl(request);
|
||||
|
||||
const string expected = "https://github.com/login/oauth/authorize?client_id=secret&redirect_uri=https://example.com/foo?foo=bar&scope=foo,bar&state=canARY";
|
||||
Assert.Equal(expected, result.ToString());
|
||||
Assert.Equal("login/oauth/authorize", result.AbsolutePath);
|
||||
Assert.Equal("?client_id=secret&redirect_uri=https%3A%2F%2Fexample.com%2Ffoo%3Ffoo%3Dbar&scope=foo%2Cbar&state=canARY", result.Query);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user