Esempio n. 1
0
        public void BeforeAll()
        {
            _repositoryProviderMock = FakeRepositoryProviderFactory.CreateRepositoryProviderMock(
                () => _authRepositoryMock.Object);

            _configuration = ConfigurationFactory.FromDictionary(new Dictionary <string, string>
            {
                [$"{AuthUtils.Jwt.ConfigKeys.Section}:{AuthUtils.Jwt.ConfigKeys.SigningKey}"]  = SigningKey,
                [$"{AuthUtils.Jwt.ConfigKeys.Section}:{AuthUtils.Jwt.ConfigKeys.LifetimeKey}"] = "10m"
            });
        }
 public void BeforeAll()
 {
     _repositoryProviderMock = FakeRepositoryProviderFactory.CreateRepositoryProviderMock(
         () => _usersRepositoryMock.Object);
 }