public ImportExportServiceTests() { Host.Run(new[] { "install y" }).Wait(); Scaffold.Run(); _importExportService = new ImportExportService(); }
public ImportExportRepositoryTests() { Host.Run(new[] { "install y" }).Wait(); Scaffold.Run(); _repo = new ImportExportRepository(); }
public PocoRepositoryTests() { Host.Run(new[] { "install y" }).Wait(); Scaffold.Run(); _repo = new PocoRepository(); }
public SettingsServiceTests() { Host.Run(new[] { "install y" }).Wait(); Scaffold.Run(); _service = new SettingsService(); _repo = new PocoRepository(); }
public ContentExtensionsTests() { Host.Run(new[] { "install y" }).Wait(); Scaffold.Run(); _contentService = ApplicationContext.Current.Services.ContentService; _contentTypeService = ApplicationContext.Current.Services.ContentTypeService; }
public InstancesServiceTests() { Host.Run(new[] { "install y" }).Wait(); Scaffold.Run(); Scaffold.Config(); _service = new InstancesService(); }
public GroupServiceTests() { Host.Run(new[] { "install y" }).Wait(); Scaffold.Run(); // even though it's not being used, this needs to stay _mocker = new ContextMocker(); _groupService = new GroupService(); }
public InstancesServiceTests() { Host.Run(new[] { "install y" }).Wait(); Scaffold.Run(); Scaffold.Config(); Scaffold.ContentType(ApplicationContext.Current.Services.ContentTypeService); _service = new InstancesService(); _tasksService = new TasksService(); }
public SettingsControllerTests() { Host.Run(new[] { "install y" }).Wait(); Scaffold.Run(); _settingsController = new SettingsController(UmbracoContext.Current) { Request = new HttpRequestMessage(), Configuration = new HttpConfiguration() }; }
public ConfigServiceTests() { Host.Run(new[] { "install y" }).Wait(); Scaffold.Run(); Scaffold.Config(); _configService = new ConfigService(new PocoRepository()); _contentService = ApplicationContext.Current.Services.ContentService; _contentTypeService = ApplicationContext.Current.Services.ContentTypeService; }
public PreviewServiceTests() { Host.Run(new[] { "install y" }).Wait(); Scaffold.Run(); // even though it's not being used, this needs to stay _mocker = new ContextMocker(); _previewService = new PreviewService(); _tasksService = new TasksService(); _instancesService = new InstancesService(); }
public GroupControllerTests() { Host.Run(new[] { "install y" }).Wait(); Scaffold.Run(); // not testing this, but need it for quickly creating groups _groupService = new GroupService(); _groupsController = new GroupsController(UmbracoContext.Current) { Request = new HttpRequestMessage(), Configuration = new HttpConfiguration() }; }
public TasksControllerTests() { Host.Run(new[] { "install y" }).Wait(); Scaffold.Run(); _contentService = ApplicationContext.Current.Services.ContentService; _contentTypeService = ApplicationContext.Current.Services.ContentTypeService; _tasksService = new TasksService(); _instancesService = new InstancesService(); _configService = new ConfigService(); _tasksController = new TasksController { Request = new HttpRequestMessage(), Configuration = new HttpConfiguration() }; }
public TaskInstanceExtensionsTests() { Host.Run(new[] { "install y" }).Wait(); Scaffold.Run(); }
public DocumentPublishProcessTests() { Host.Run(new[] { "install y" }).Wait(); Scaffold.Run(); }