public void AuthenticateTest() { var browser = new AniListBrowser(Resources.AniListClientId, Resources.AniListClientSecret); var response = browser.RefreshCredentials(); Assert.AreEqual(HttpStatusCode.OK, response.StatusCode); }
public AniListProfileTests() { Browser = new AniListBrowser(Resources.AniListClientId, Resources.AniListClientSecret); var response = Browser.RefreshCredentials(); Assert.AreEqual(HttpStatusCode.OK, response.StatusCode); Profile = new AniListProfile(Resources.AniListClientId, Resources.AniListClientSecret, ""); response = Profile.AuthenticateWithPin(Resources.AniListProfilePin); Assert.AreEqual(HttpStatusCode.OK, response.StatusCode); }
public AniListBrowserTests() { Browser = new AniListBrowser(Resources.AniListClientId, Resources.AniListClientSecret); Browser.RefreshCredentials(); }