public void Delete_Column_Rules_QC_Rule_Test() { IQualityCheckRepository repository = new QualityCheckRepository(testDBContext); repository.DeleteColumnRules(1); testDBContext.Commit(); var ruleList = repository.GetQualityCheckByID(1); Assert.IsNotNull(ruleList); Assert.AreEqual(ruleList.QualityCheckColumnRules.Count, 0); }
public void Delete_Column_Rules_For_No_column_Rules_For_QC_Rule_Test() { IQualityCheckRepository repository = new QualityCheckRepository(testDBContext); repository.DeleteColumnRules(2); }