public void TestFixtureSetUp() { // this is a shim to make sure that the Test.Domain.Ordering.Api assembly is loaded into the AppDomain, otherwise Web API won't discover the controller type var controller = new OrderApiController(new InMemoryEventSourcedRepository <Order>()); TestSetUp.EnsureEventStoreIsInitialized(); }
public void SetUp() { // this is a shim to make sure that the Test.Domain.Ordering.Api assembly is loaded into the AppDomain, otherwise Web API won't discover the controller type var controller = new OrderApiController(new InMemoryEventSourcedRepository <Order>()); TestSetUp.EnsureEventStoreIsInitialized(); Command <Order> .AuthorizeDefault = (order, command) => true; }
public void TestFixtureSetUp() { TestSetUp.EnsureEventStoreIsInitialized(); }