Skip to content

Commit

Permalink
removed the environment dictionary argument to new ChainExecutionLog()
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremydmiller committed Aug 25, 2015
1 parent b468c2b commit 1ccd6b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ public class ChainExecutionLog :IRequestLog, ISubject
private readonly Stack<Activity> _activityStack = new Stack<Activity>();
private readonly IList<Exception> _exceptions = new List<Exception>();

public ChainExecutionLog(IDictionary<string, object> request)
public ChainExecutionLog()
{
_request = request;
_request = new Dictionary<string, object>();
_stopwatch.Start();
Id = Guid.NewGuid();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public void has_exception()
[Test]
public void mark_finished()
{
var log = new ChainExecutionLog(new Dictionary<string, object>());
var log = new ChainExecutionLog();
log.MarkFinished(dict => dict.Add("A", 1));

log.Request["A"].ShouldBe(1);
Expand All @@ -154,7 +154,7 @@ public void mark_finished()

public class StubbedChainExecutionLog : ChainExecutionLog
{
public StubbedChainExecutionLog() : base(new Dictionary<string, object>())
public StubbedChainExecutionLog() : base()
{
}

Expand Down

0 comments on commit 1ccd6b8

Please sign in to comment.