mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
replaced compile time with runtime mono check.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using NUnit.Framework;
|
||||
using NzbDrone.Common;
|
||||
using NzbDrone.Core.Datastore;
|
||||
using NzbDrone.Core.Model.Notification;
|
||||
using NzbDrone.Core.Providers.Core;
|
||||
@@ -16,10 +17,10 @@ namespace NzbDrone.Core.Test.Framework
|
||||
[SetUp]
|
||||
public void CoreTestSetup()
|
||||
{
|
||||
|
||||
#if __MonoCS__
|
||||
throw new IgnoreException("SqlCe is not supported in mono.");
|
||||
#endif
|
||||
if (EnvironmentProvider.IsMono)
|
||||
{
|
||||
throw new IgnoreException("SqlCe is not supported in mono.");
|
||||
}
|
||||
|
||||
if (NCrunch.Framework.NCrunchEnvironment.NCrunchIsResident())
|
||||
{
|
||||
|
Reference in New Issue
Block a user