Exemple #1
0
        public void CreateShowRequestTest()
        {
            CreateShowRequest request = new CreateShowRequest()
            {
                Movie         = "TestMovie",
                Date          = DateTime.Today,
                Price         = 1,
                PriceInPoints = 1,
                Room          = "TestRoom"
            };

            IActionResult createShow = administration.CreateShow(request);

            Assert.IsType <RedirectToActionResult>(createShow);
        }