Fixed broken test from not using Name

This commit is contained in:
Mark McDowall 2013-06-13 00:12:40 -07:00
parent 8cac7ed1cd
commit 954ac925d0
1 changed files with 2 additions and 2 deletions

View File

@ -71,8 +71,8 @@ namespace NzbDrone.Core.Test.NotificationTests
notifications.Should().NotBeEmpty();
notifications.Should().NotContain(c => c.Settings == null);
notifications.Should().NotContain(c => c.Instance == null);
notifications.Should().NotContain(c => c.Name == null);
notifications.Select(c => c.Name).Should().OnlyHaveUniqueItems();
notifications.Should().NotContain(c => c.ImplementationName == null);
notifications.Select(c => c.ImplementationName).Should().OnlyHaveUniqueItems();
notifications.Select(c => c.Instance).Should().OnlyHaveUniqueItems();
notifications.Select(c => c.Id).Should().OnlyHaveUniqueItems();
}