skip sqlce teardown on mono.

This commit is contained in:
kay.one 2013-02-16 21:39:17 -08:00
parent 3c2d1d4707
commit efa44219cf
1 changed files with 5 additions and 0 deletions

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;