From e14d714811df1cc5d48543940042fd7481a86970 Mon Sep 17 00:00:00 2001 From: Serghei Cebotari Date: Wed, 26 Jul 2023 17:17:09 +0300 Subject: Move Price List Validation to separate static class --- RhSolutions.Tests/CanReadProducts.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'RhSolutions.Tests/CanReadProducts.cs') diff --git a/RhSolutions.Tests/CanReadProducts.cs b/RhSolutions.Tests/CanReadProducts.cs index e796da0..745c243 100644 --- a/RhSolutions.Tests/CanReadProducts.cs +++ b/RhSolutions.Tests/CanReadProducts.cs @@ -22,6 +22,7 @@ public class CanReadProducts : IDisposable public void CanReadRange() { Worksheet worksheet = _testWorkbook.Sheets[1]; + worksheet.Validate(); worksheet.Range["A1"].Value = "11600011001"; worksheet.Range["A2"].Value = "11600011001"; worksheet.Range["A3"].Value = "160002-001"; @@ -49,6 +50,7 @@ public class CanReadProducts : IDisposable public void CanReadWorkbook() { Worksheet worksheet = Util.Workbook.Worksheets[1]; + worksheet.Validate(); var result = _reader.ReadProducts(new[] { worksheet }); Assert.NotNull(result); Assert.NotEmpty(result); -- cgit v1.2.3