mirror of
https://github.com/fergalmoran/Readarr.git
synced 2025-12-22 09:29:59 +00:00
Fix container and free space tests on mono (#704)
* Fix disk provider tests * Fix container test on linux
This commit is contained in:
@@ -8,6 +8,13 @@ namespace NzbDrone.Mono.Test.DiskProviderTests
|
||||
[Platform("Mono")]
|
||||
public class FreeSpaceFixture : FreeSpaceFixtureBase<DiskProvider>
|
||||
{
|
||||
[SetUp]
|
||||
public void Setup()
|
||||
{
|
||||
Mocker.SetConstant<ISymbolicLinkResolver>(Mocker.Resolve<SymbolicLinkResolver>());
|
||||
Mocker.SetConstant<IProcMountProvider>(Mocker.Resolve<ProcMountProvider>());
|
||||
}
|
||||
|
||||
public FreeSpaceFixture()
|
||||
{
|
||||
MonoOnly();
|
||||
|
||||
2
test.sh
2
test.sh
@@ -38,7 +38,7 @@ if [ "$PLATFORM" = "Windows" ]; then
|
||||
mkdir -p "$ProgramData/Lidarr"
|
||||
WHERE="$WHERE && cat != LINUX"
|
||||
elif [ "$PLATFORM" = "Linux" ] || [ "$PLATFORM" = "Mac" ] ; then
|
||||
mkdir -p "~/.config/Lidarr"
|
||||
mkdir -p ~/.config/Lidarr
|
||||
WHERE="$WHERE && cat != WINDOWS"
|
||||
NUNIT_COMMAND="mono --debug --runtime=v4.0 $NUNIT"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user