public override void Given()
        {
            expectedResult.PathwayStatusId = (int)TlevelReviewStatus.Queried;

            TlevelLoader.GetQueryTlevelViewModelAsync(ukprn, pathwayId)
            .Returns(expectedResult);
        }
Beispiel #2
0
 public override void Given()
 {
     InputViewModel = new TlevelQueryViewModel {
         PathwayStatusId = (int)TlevelReviewStatus.AwaitingConfirmation
     };
     Controller.ModelState.AddModelError("Query", "Please enter a query.");
     TlevelLoader.GetQueryTlevelViewModelAsync(Ukprn, PathwayId).Returns(ExpectedResult);
 }
 public override void Given()
 {
     TlevelLoader.GetQueryTlevelViewModelAsync(ukprn, pathwayId)
     .Returns(expectedResult);
 }
 public override void Given()
 {
     TempData[Constants.IsBackToVerifyPage] = "true";
     TlevelLoader.GetQueryTlevelViewModelAsync(ukprn, pathwayId)
     .Returns(expectedResult);
 }