Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/Dtmworkflow/WorkflowGlobalTransaction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,9 @@ public async Task ExecuteByQS(Microsoft.AspNetCore.Http.IQueryCollection query,
}
#endif

#if DEBUG // for sample only
public bool Exists(string name)
{
return this._handlers.ContainsKey(name);
}
#endif
}
}
2 changes: 0 additions & 2 deletions tests/Dtmworkflow.Tests/WorkflowGlobalTransactionTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ namespace Dtmworkflow.Tests;

public class WorkflowGlobalTransactionTest
{
#if DEBUG
[Fact]
public void Exists()
{
Expand All @@ -34,5 +33,4 @@ public void Exists()
Assert.False(wf2.Exists("my-wf2"));
Assert.False(wf2.Exists("my-wf3"));
}
#endif
}
Loading