Skip to content

Commit 6e48446

Browse files
committed
order the plugins as github was returning in differnt order
Signed-off-by: Neil South <[email protected]>
1 parent 22d409f commit 6e48446

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
using System;
1818
using System.Collections.Generic;
1919
using System.IO.Abstractions;
20+
using System.Linq;
2021
using System.Reflection;
2122
using Microsoft.Extensions.Logging;
2223
using Monai.Deploy.InformaticsGateway.Api.PlugIns;
@@ -50,7 +51,7 @@ public void RegisteredPlugIns_WhenCalled_ReturnsListOfPlugIns()
5051

5152
var result = factory.RegisteredPlugIns();
5253

53-
Assert.Collection(result,
54+
Assert.Collection(result.OrderBy(r => r.Key),
5455
p => VerifyPlugIn(p, typeof(DicomDeidentifier)),
5556
p => VerifyPlugIn(p, typeof(TestOutputDataPlugInAddMessage)),
5657
p => VerifyPlugIn(p, typeof(TestOutputDataPlugInModifyDicomFile))

0 commit comments

Comments
 (0)