Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
François Chabot committed Sep 7, 2020
1 parent 4a914f2 commit c95ff16
Showing 1 changed file with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,22 @@ public class OrchestrationFixture : IDisposable
{
public OrchestrationFixture()
{
var assembly = Assembly.Load("Microsoft.BizTalk.Edi.BatchingOrchestration, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35");
_orchestrationType = assembly.GetType("Microsoft.BizTalk.Edi.BatchSuspendOrchestration.BatchElementSuspendService", true);
if (BizTalkServerGroup.IsConfigured)
{
var assembly = Assembly.Load("Microsoft.BizTalk.Edi.BatchingOrchestration, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35");
_orchestrationType = assembly.GetType("Microsoft.BizTalk.Edi.BatchSuspendOrchestration.BatchElementSuspendService", true);
}
}

#region IDisposable Members

public void Dispose()
{
var orchestration = new Orchestration(_orchestrationType);
orchestration.EnsureUnenlisted();
if (BizTalkServerGroup.IsConfigured)
{
var orchestration = new Orchestration(_orchestrationType);
orchestration.EnsureUnenlisted();
}
}

#endregion
Expand Down

0 comments on commit c95ff16

Please sign in to comment.