1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00

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

View File

@ -71,8 +71,8 @@ public void should_be_able_to_get_schema_for_all_notifications()
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();
}