1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2025-02-19 04:41:42 +00:00

skip sqlce teardown on mono.

This commit is contained in:
kay.one 2013-02-16 21:39:17 -08:00
parent 3c2d1d4707
commit efa44219cf

View file

@ -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;