i have no idea why this test is even passing on the build server

This commit is contained in:
Brendan Forster
2014-04-30 15:45:38 +08:00
parent e881ea0f92
commit 370e6ff926
+1 -2
View File
@@ -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);
}
}