Example #1
0
        public IntegrationTestsFixture()
        {
            var clientOptions = new WebApplicationFactoryClientOptions
            {
            };

            Factory = new LojaAppFactory <TStartup>();
            Client  = Factory.CreateClient(clientOptions);
        }
Example #2
0
        public IntegrationTestsFixture()
        {
            var clientOptions = new WebApplicationFactoryClientOptions
            {
            };

            Factory = new LojaAppFactory <TStartup>();
            //Irá emular uma aplicação na memória
            Client = Factory.CreateClient(clientOptions);
        }