예제 #1
0
        public async Task Get_UserId_Mongo_Test()
        {
            // Arrange
            LetPortal.Identity.Stores.UserStore userStore = _context.GetUserStore();

            // Act
            string result = await userStore.GetUserIdAsync(_context.GenerateUser(), new System.Threading.CancellationToken());

            userStore.Dispose();
            // Assert
            Assert.True(!string.IsNullOrEmpty(result));
        }