예제 #1
0
        public async Task ShouldEvaluateSupplierLargeQualification()
        {
            MockApplyQualificationData(Enums.PreQualificationType.Large);
            var _subQualificationObj = new QualificationDefault().GetApplyDocumentsModelLargeQulaification();

            var result = await _sut.ApplyDocsforSupplier(_subQualificationObj, false);

            Assert.NotNull(result);
            Assert.IsType <SupplierPreQualificationDocument>(result);
        }
예제 #2
0
        public async Task ShouldRemovePreviousQualification()
        {
            MockApplyQualificationData(Enums.PreQualificationType.Large);
            MoqRemoverPreviouseQualificationData();

            var _subQualificationObj = new QualificationDefault().GetApplyDocumentsModelLargeQulaification();

            _subQualificationObj.EditMode = true;

            var result = await _sut.ApplyDocsforSupplier(_subQualificationObj, false);

            Assert.NotNull(result);
            Assert.IsType <SupplierPreQualificationDocument>(result);
        }