Gets all tests fixed up, now to write some more

This commit is contained in:
Shannon
2018-11-05 13:59:55 +11:00
parent f223024164
commit 0d35a6a140
11 changed files with 131 additions and 80 deletions

View File

@@ -121,7 +121,7 @@ namespace Umbraco.Core.Models
{
if (_schedule.TryGetValue(culture, out var changes))
return changeType == null ? changes.Values : changes.Values.Where(x => x.Change == changeType.Value);
return null;
return Enumerable.Empty<ContentSchedule>();
}
/// <summary>