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

            var profile = await _subject.GetUserPublicProfileAsync(response.UserId);

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

            _subject.SetCookieSessionId(response.AuthCookieToken);

            Assert.NotNull(response);
        }
Exemplo n.º 3
0
        public async Task SignInWithCorrectCredentials()
        {
            var response = await _subject.LoginAsync("scottisafool", "Coventry20!", CancellationToken.None);

            Assert.NotNull(response);
        }