fixes tests

This commit is contained in:
Shannon
2017-08-24 17:22:33 +10:00
parent c3b1aa36b8
commit 1dade7bfd2

View File

@@ -114,7 +114,7 @@ namespace Umbraco.Core.Events
get { return _moveInfoCollection; }
set
{
var first = _moveInfoCollection.FirstOrDefault();
var first = value.FirstOrDefault();
if (first == null)
{
throw new InvalidOperationException("MoveInfoCollection must have at least one item");