Exemplo n.º 1
0
        public void FirstSetup()
        {
            _configuration = new ConfigurationBuilder()
                             .AddJsonFile("test.appsettings.json")
                             .Build();

            var strConn = _configuration.GetConnectionString("mainDb");

            _drawingDal        = new DrawingDalImpl(_configuration);
            _testUtilitiesImpl = new TestUtilitiesImpl(strConn);
        }
Exemplo n.º 2
0
        public void FirstSetup()
        {
            _configuration = new ConfigurationBuilder()
                             .AddJsonFile("test.appsettings.json")
                             .Build();

            var strConn = _configuration.GetConnectionString("mainDb");

            _testUtilitiesImpl = new TestUtilitiesImpl(strConn);
            _drawingDal        = new DrawingDalImpl(_configuration);
            _signUpService     = new SignUpServiceImpl(_drawingDal);
            _createdUsers      = _testUtilitiesImpl.CreateUserDummyData(_signUpService, 1);
        }