From 21fb58744cac0f37bb3ab9d6a69e402ebbcd5565 Mon Sep 17 00:00:00 2001 From: Sergey Chebotar Date: Mon, 22 May 2023 10:24:18 +0300 Subject: Implement Magic Reader --- RhSolutions.Tests/CanDoMagic.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'RhSolutions.Tests/CanDoMagic.cs') diff --git a/RhSolutions.Tests/CanDoMagic.cs b/RhSolutions.Tests/CanDoMagic.cs index 7988724..d3a0bf9 100644 --- a/RhSolutions.Tests/CanDoMagic.cs +++ b/RhSolutions.Tests/CanDoMagic.cs @@ -8,15 +8,15 @@ namespace RhSolutions.Tests; public class CanDoMagic : IDisposable { private RhSolutionsAddIn _addIn; - private ReaderFactory _readerFactory; + //private ReaderFactory _readerFactory; private IReader _reader; public CanDoMagic() { _addIn = new(); _addIn.AutoOpen(); - _readerFactory = RhSolutionsAddIn.ServiceProvider.GetRequiredService(); - _reader = _readerFactory.GetReader("Magic"); + //_readerFactory = RhSolutionsAddIn.ServiceProvider.GetRequiredService(); + _reader = new MagicReader(Util.Application); } [ExcelFact(Workbook = @"..\..\..\TestWorkbooks\TestSpecificationMagic.xlsx")] -- cgit v1.2.3