Exemple #1
0
        public async Task UpdateGoogleAuthenticatorKey_Test()
        {
            var currentUser = await GetCurrentUserAsync();

            //Assert
            currentUser.GoogleAuthenticatorKey.ShouldBeNull();

            //Act
            await _profileAppService.UpdateGoogleAuthenticatorKey();

            currentUser = await GetCurrentUserAsync();

            //Assert
            currentUser.GoogleAuthenticatorKey.ShouldNotBeNull();
        }