aboutsummaryrefslogtreecommitdiff
path: root/RhSolutions.Tests
diff options
context:
space:
mode:
authorSergey Chebotar <s.chebotar@gmail.com>2023-05-22 10:24:18 +0300
committerSergey Chebotar <s.chebotar@gmail.com>2023-05-22 10:24:18 +0300
commit21fb58744cac0f37bb3ab9d6a69e402ebbcd5565 (patch)
tree11c49d6d82a59adfa3e48fd079f817d3c46a5581 /RhSolutions.Tests
parent7a7cdaab581adc3eff9f1b69722aeaf17ff31314 (diff)
Implement Magic Reader
Diffstat (limited to 'RhSolutions.Tests')
-rw-r--r--RhSolutions.Tests/CanDoMagic.cs6
1 files changed, 3 insertions, 3 deletions
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<ReaderFactory>();
- _reader = _readerFactory.GetReader("Magic");
+ //_readerFactory = RhSolutionsAddIn.ServiceProvider.GetRequiredService<ReaderFactory>();
+ _reader = new MagicReader(Util.Application);
}
[ExcelFact(Workbook = @"..\..\..\TestWorkbooks\TestSpecificationMagic.xlsx")]