From 733440392e2c02b9488b76dc0ede643617949bb7 Mon Sep 17 00:00:00 2001 From: Sergey Chebotar Date: Tue, 23 May 2023 07:01:33 +0300 Subject: Fix testing reader type --- RhSolutions.Tests/CanReadProducts.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'RhSolutions.Tests/CanReadProducts.cs') diff --git a/RhSolutions.Tests/CanReadProducts.cs b/RhSolutions.Tests/CanReadProducts.cs index 5973017..e796da0 100644 --- a/RhSolutions.Tests/CanReadProducts.cs +++ b/RhSolutions.Tests/CanReadProducts.cs @@ -15,7 +15,7 @@ public class CanReadProducts : IDisposable _addIn = new(); _testWorkbook = Util.Application.Workbooks.Add(); _addIn.AutoOpen(); - _reader = RhSolutionsAddIn.ServiceProvider.GetRequiredService(); + _reader = new ExcelReader(Util.Application, RhSolutionsAddIn.Configuration); } [ExcelFact] -- cgit v1.2.3