mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-30 11:48:26 -07:00
improved Linux support for tests.
This commit is contained in:
parent
660185640d
commit
3162e4864d
20 changed files with 178 additions and 149 deletions
|
@ -70,7 +70,7 @@ namespace NzbDrone.Core.Test.MediaFileTests
|
|||
|
||||
var episodeFile = Builder<EpisodeFile>.CreateNew()
|
||||
.With(f => f.Id = 0)
|
||||
.With(f => f.Path = path.NormalizePath())
|
||||
.With(f => f.Path = path.CleanPath())
|
||||
.Build();
|
||||
|
||||
Subject.Insert(episodeFile);
|
||||
|
@ -79,7 +79,7 @@ namespace NzbDrone.Core.Test.MediaFileTests
|
|||
|
||||
//Resolve
|
||||
file.Should().NotBeNull();
|
||||
file.Path.Should().Be(path.NormalizePath());
|
||||
file.Path.Should().Be(path.CleanPath());
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue