From bbced006031f9e236f306b4db2ad2f45f8c30ab0 Mon Sep 17 00:00:00 2001 From: Neil South Date: Mon, 14 Aug 2023 16:38:08 +0100 Subject: [PATCH] adding test Signed-off-by: Neil South --- .../Test/Services/Common/ExternalAppPluginTest.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/InformaticsGateway/Test/Services/Common/ExternalAppPluginTest.cs b/src/InformaticsGateway/Test/Services/Common/ExternalAppPluginTest.cs index 95fe4df82..a46eeb26a 100755 --- a/src/InformaticsGateway/Test/Services/Common/ExternalAppPluginTest.cs +++ b/src/InformaticsGateway/Test/Services/Common/ExternalAppPluginTest.cs @@ -253,11 +253,13 @@ public async Task ExternalAppPlugin_Should_Repare_StudyUid() _repository.Setup(r => r.GetAsync(It.IsAny(), It.IsAny())) .Returns(Task.FromResult(remoteAppExecution)); + var _type = "Monai.Deploy.InformaticsGateway.ExecutionPlugins.ExternalAppIncoming, Monai.Deploy.InformaticsGateway, Version=0.0.0.0"; + var pluginEngine = new InputDataPluginEngine( _serviceProvider, new Mock>().Object); - pluginEngine.Configure(new List() { typeof(ExternalAppIncoming).AssemblyQualifiedName }); + pluginEngine.Configure(new List() { _type }); var (resultDicomFile, resultDicomInfo) = await pluginEngine.ExecutePlugins(dicomFile, dicomInfo);