mirror of https://github.com/lidarr/Lidarr
skip sqlce teardown on mono.
This commit is contained in:
parent
3c2d1d4707
commit
efa44219cf
|
@ -92,6 +92,11 @@ namespace NzbDrone.Core.Test.Framework
|
||||||
{
|
{
|
||||||
ConfigProvider.ClearCache();
|
ConfigProvider.ClearCache();
|
||||||
|
|
||||||
|
if (EnvironmentProvider.IsMono)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (_db != null && _db.Connection != null && File.Exists(_db.Connection.Database))
|
if (_db != null && _db.Connection != null && File.Exists(_db.Connection.Database))
|
||||||
{
|
{
|
||||||
var file = _db.Connection.Database;
|
var file = _db.Connection.Database;
|
||||||
|
|
Loading…
Reference in New Issue