Exemple #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);
        }
Exemple #2
0
        public async Task SignInWithCorrectCredentials()
        {
            LoginResponse response = await _subject.LoginAsync("spectrotest", "1ICwn*3^o4g5", CancellationToken.None);

            _subject.SetCookieSessionId(response.AuthCookieToken);

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

            Assert.NotNull(response);
        }