Skip to content

Commit bbced00

Browse files
neildsouthmocsharp
authored andcommitted
adding test
Signed-off-by: Neil South <[email protected]>
1 parent 3d6015c commit bbced00

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/InformaticsGateway/Test/Services/Common/ExternalAppPluginTest.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,11 +253,13 @@ public async Task ExternalAppPlugin_Should_Repare_StudyUid()
253253
_repository.Setup(r => r.GetAsync(It.IsAny<string>(), It.IsAny<CancellationToken>()))
254254
.Returns(Task.FromResult(remoteAppExecution));
255255

256+
var _type = "Monai.Deploy.InformaticsGateway.ExecutionPlugins.ExternalAppIncoming, Monai.Deploy.InformaticsGateway, Version=0.0.0.0";
257+
256258
var pluginEngine = new InputDataPluginEngine(
257259
_serviceProvider,
258260
new Mock<ILogger<InputDataPluginEngine>>().Object);
259261

260-
pluginEngine.Configure(new List<string>() { typeof(ExternalAppIncoming).AssemblyQualifiedName });
262+
pluginEngine.Configure(new List<string>() { _type });
261263

262264
var (resultDicomFile, resultDicomInfo) = await pluginEngine.ExecutePlugins(dicomFile, dicomInfo);
263265

0 commit comments

Comments
 (0)