public ReindexControllerTests()
        {
            _reindexEnabledController = GetController(_reindexJobConfig);
            var controllerContext = new ControllerContext()
            {
                HttpContext = _httpContext
            };

            _reindexEnabledController.ControllerContext = controllerContext;
        }
Exemplo n.º 2
0
        public ReindexControllerTests()
        {
            _reindexEnabledController = GetController(_reindexJobConfig);
            var controllerContext = new ControllerContext()
            {
                HttpContext = _httpContext
            };

            _reindexEnabledController.ControllerContext = controllerContext;
            _urlResolver.ResolveOperationResultUrl(Arg.Any <string>(), Arg.Any <string>()).Returns(new System.Uri("https://test.com"));
        }