aboutsummaryrefslogtreecommitdiff
path: root/RhSolutions.Tests
diff options
context:
space:
mode:
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")]