1
0
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:
ta264
2019-12-22 22:08:53 +00:00
committed by Qstick
parent d4fa9b7345
commit f02fa629cc
1186 changed files with 7105 additions and 5616 deletions
+4 -1
View File
@@ -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");