Esempio n. 1
0
 public GetResourceTests(PaccoApplicationFactory <Program> factory)
 {
     _resourceId     = Guid.NewGuid();
     _mongoDbFixture = new MongoDbFixture <ResourceDocument, Guid>("resources");
     factory.Server.AllowSynchronousIO = true;
     _httpClient = factory.CreateClient();
 }
 public AddResourceTests(PaccoApplicationFactory <Program> factory)
 {
     _rabbitMqFixture = new RabbitMqFixture();
     _mongoDbFixture  = new MongoDbFixture <ResourceDocument, Guid>("resources");
     factory.Server.AllowSynchronousIO = true;
 }