Skip to content

Commit

Permalink
fixes failing unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
runeanielsen committed Aug 9, 2020
1 parent 0985bb4 commit 85a8c61
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -698,8 +698,8 @@ public async Task CreateUpdatedEvent_ShouldReturnRouteSegmentLocationChanged_OnG
A.CallTo(() => currentStartNode.Mrid).Returns(startNodeMrid);
A.CallTo(() => currentEndNode.Mrid).Returns(endNodeMrId);

A.CallTo(() => geoDatabase.GetIntersectingStartRouteNodes(routeSegmentBefore)).Returns(new List<RouteNode> { previousStartNode });
A.CallTo(() => geoDatabase.GetIntersectingEndRouteNodes(routeSegmentBefore)).Returns(new List<RouteNode> { previousEndNode });
A.CallTo(() => geoDatabase.GetIntersectingStartRouteNodes(routeSegmentBefore.Coord)).Returns(new List<RouteNode> { previousStartNode });
A.CallTo(() => geoDatabase.GetIntersectingEndRouteNodes(routeSegmentBefore.Coord)).Returns(new List<RouteNode> { previousEndNode });
A.CallTo(() => previousStartNode.Mrid).Returns(startNodeMrid);
A.CallTo(() => previousEndNode.Mrid).Returns(endNodeMrId);

Expand Down

0 comments on commit 85a8c61

Please sign in to comment.