From 370e6ff9262bef72f877794b4400b8732c0986f7 Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Wed, 30 Apr 2014 15:45:38 +0800 Subject: [PATCH] i have no idea why this test is even passing on the build server --- Octokit.Tests/Clients/OauthClientTests.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Octokit.Tests/Clients/OauthClientTests.cs b/Octokit.Tests/Clients/OauthClientTests.cs index d009af68..f8d73267 100644 --- a/Octokit.Tests/Clients/OauthClientTests.cs +++ b/Octokit.Tests/Clients/OauthClientTests.cs @@ -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); } }