Пример #1
0
        public MvcTestBase(CourseDirectoryApplicationFactory factory)
        {
            Factory = factory;

            HttpClient = factory.CreateClient(new WebApplicationFactoryClientOptions()
            {
                AllowAutoRedirect = false
            });
            Factory.OnTestStarting();
        }
Пример #2
0
 public LayoutTests(CourseDirectoryApplicationFactory factory)
     : base(factory)
 {
 }
Пример #3
0
 public RedirectToActionResultExtensionsTests(CourseDirectoryApplicationFactory factory)
     : base(factory)
 {
 }