mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-27 10:17:47 +00:00
Fixed update tests
This commit is contained in:
parent
9792cff50d
commit
8a41a4c91e
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ namespace NzbDrone.Core.Test.UpdateTests
|
||||||
recent.Should().NotBeEmpty();
|
recent.Should().NotBeEmpty();
|
||||||
recent.Should().OnlyContain(c => c.Hash.IsNotNullOrWhiteSpace());
|
recent.Should().OnlyContain(c => c.Hash.IsNotNullOrWhiteSpace());
|
||||||
recent.Should().OnlyContain(c => c.FileName.Contains("Drone.master.2"));
|
recent.Should().OnlyContain(c => c.FileName.Contains("Drone.master.2"));
|
||||||
recent.Should().OnlyContain(c => c.ReleaseDate.Year == 2014);
|
recent.Should().OnlyContain(c => c.ReleaseDate.Year >= 2014);
|
||||||
recent.Where(c => c.Changes != null).Should().OnlyContain(c => c.Changes.New != null);
|
recent.Where(c => c.Changes != null).Should().OnlyContain(c => c.Changes.New != null);
|
||||||
recent.Where(c => c.Changes != null).Should().OnlyContain(c => c.Changes.Fixed != null);
|
recent.Where(c => c.Changes != null).Should().OnlyContain(c => c.Changes.Fixed != null);
|
||||||
recent.Should().OnlyContain(c => c.Branch == branch);
|
recent.Should().OnlyContain(c => c.Branch == branch);
|
||||||
|
|
Loading…
Reference in a new issue