mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-22 22:15:17 -04:00
Reformat and apply Stylecop rules
This commit is contained in:
@@ -41,7 +41,6 @@ namespace NzbDrone.Core.Test.Framework
|
||||
|
||||
return _subject;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -57,7 +56,9 @@ namespace NzbDrone.Core.Test.Framework
|
||||
get
|
||||
{
|
||||
if (_db == null)
|
||||
{
|
||||
throw new InvalidOperationException("Test object database doesn't exists. Make sure you call WithRealDb() if you intend to use an actual database.");
|
||||
}
|
||||
|
||||
return _db;
|
||||
}
|
||||
@@ -78,6 +79,7 @@ namespace NzbDrone.Core.Test.Framework
|
||||
Mocker.SetConstant<IMainDatabase>(mainDb);
|
||||
break;
|
||||
}
|
||||
|
||||
case MigrationType.Log:
|
||||
{
|
||||
var logDb = new LogDatabase(database);
|
||||
@@ -85,6 +87,7 @@ namespace NzbDrone.Core.Test.Framework
|
||||
Mocker.SetConstant<ILogDatabase>(logDb);
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
{
|
||||
throw new ArgumentException("Invalid MigrationType");
|
||||
|
||||
Reference in New Issue
Block a user