Esempio n. 1
0
        public void DeleteProgressWhenNoProgressIsStarted()
        {
            _contextMock = new Mock <IDbContext>();

            _participant = new Participant {
                Id = 1, Email = "", Scores = null, UserSetting = null, Progress = null
            };
            _controller = new ProgressController(_contextMock.Object, _participant);
            SetupControllerForTests(_controller);

            var request = _controller.Delete();
        }
Esempio n. 2
0
 public ActionResult Delete()
 {
     return((ActionResult)pc.Delete(Request)["view"]);
 }
Esempio n. 3
0
 public void DeleteProgress()
 {
     SetupControllerForTests(_controller);
     var request = _controller.Delete();
 }