Exemplo n.º 1
0
        public void AuthenticateTest()
        {
            var browser  = new AniListBrowser(Resources.AniListClientId, Resources.AniListClientSecret);
            var response = browser.RefreshCredentials();

            Assert.AreEqual(HttpStatusCode.OK, response.StatusCode);
        }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
 public void AniListBrowserTest()
 {
     var browser = new AniListBrowser(Resources.AniListClientId, Resources.AniListClientSecret);
 }
Exemplo n.º 4
0
 public AniListBrowserTests()
 {
     Browser = new AniListBrowser(Resources.AniListClientId, Resources.AniListClientSecret);
     Browser.RefreshCredentials();
 }