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

            // Act
            IList <Claim> result = await userStore.GetClaimsAsync(_context.GenerateUser(), new System.Threading.CancellationToken());

            userStore.Dispose();
            // Assert
            Assert.NotEmpty(result);
        }