aboutsummaryrefslogtreecommitdiff
path: root/RhSolutions.Tests/CanReadProducts.cs
diff options
context:
space:
mode:
authorSergey Chebotar <s.chebotar@gmail.com>2023-05-23 07:01:33 +0300
committerSergey Chebotar <s.chebotar@gmail.com>2023-05-23 07:01:33 +0300
commit733440392e2c02b9488b76dc0ede643617949bb7 (patch)
tree7eedda54b71186aa3b97e7b64f235ce73ab677b4 /RhSolutions.Tests/CanReadProducts.cs
parent136aa7f238472558a8909b811b1af8b4df731eae (diff)
Fix testing reader type
Diffstat (limited to 'RhSolutions.Tests/CanReadProducts.cs')
-rw-r--r--RhSolutions.Tests/CanReadProducts.cs2
1 files changed, 1 insertions, 1 deletions
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<IReader>();
+ _reader = new ExcelReader(Util.Application, RhSolutionsAddIn.Configuration);
}
[ExcelFact]