Esempio n. 1
0
        public async Task SignInWithCorrectCredentials()
        {
            LoginResponse response = await _subject.LoginAsync("spectrotest", "1ICwn*3^o4g5", CancellationToken.None);

            _subject.SetCookieSessionId(response.AuthCookieToken);

            Assert.NotNull(response);
        }
Esempio n. 2
0
        public async Task GetUserProfile()
        {
            LoginResponse response = await _subject.LoginAsync("spectrotest", "1ICwn*3^o4g5", CancellationToken.None);

            _subject.SetCookieSessionId(response.AuthCookieToken);
            var profile = await _subject.GetUserProfileAsync();

            Assert.NotNull(profile);
        }
Esempio n. 3
0
 public FeedsTests()
 {
     _subject = new NewsBlurClient();
     _subject.SetCookieSessionId("qv9sseho0dbv4izpfy9jw8zrl4bdjpzh");
 }