mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 05:23:31 -07:00
ignore WithReadDb() calls in mono
This commit is contained in:
parent
aeae9d75d1
commit
177f88303c
5 changed files with 8 additions and 12 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue