Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulStovell committed Feb 9, 2013
1 parent a93d893 commit 7a2affc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using NSubstitute;
using NUnit.Framework;
Expand Down Expand Up @@ -48,7 +49,7 @@ public void ShouldRaiseErrorWhenOneOfTheDeploymentTasksFailed()
{
var log = Substitute.For<ILog>();
var session = Substitute.For<IOctopusSession>();
session.Get<Task>(Arg.Any<String>()).Returns(new Task { State = "Failed" });
session.Get<Task>(Arg.Any<String>()).Returns(new Task { State = "Failed", Links = new Dictionary<string, string> { { "Web", "Foo" } } });

var watcher = new DeploymentWatcher(log);

Expand Down

0 comments on commit 7a2affc

Please sign in to comment.