mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-27 12:33:00 +02:00
ignore WithReadDb() calls in mono
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user