public void EnsureGetAuthenticationUriIncludesVersion() { var client = new MusicClient("id"); var uri = client.GetAuthenticationUri(Scope.ReadUserPlayHistory); Assert.AreEqual("https://sapi.mixrad.io/1.x/authorize/?response_type=code&client_id=id&scope=read_userplayhistory", uri.ToString(), "Expected a matching uri"); }
public void EnsureGetAuthenticationUriIncludesVersion() { var client = new MusicClient("id"); var uri = client.GetAuthenticationUri(Scope.ReadUserPlayHistory); Assert.AreEqual("https://sapi.mixrad.io/1.x/authorize/?response_type=code&client_id=id&scope=read_userplayhistory", uri.ToString(), "Expected a matching uri"); }