ignore WithReadDb() calls in mono

This commit is contained in:
kay.one
2013-02-17 08:23:53 -08:00
parent aeae9d75d1
commit 177f88303c
5 changed files with 8 additions and 12 deletions

View File

@@ -82,6 +82,11 @@ namespace NzbDrone.Core.Test.Framework
protected void WithRealDb()
{
if (EnvironmentProvider.IsMono)
{
throw new IgnoreException("SqlCe is not supported in mono.");
}
_db = GetEmptyDatabase();
Mocker.SetConstant(Db);
}