mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-21 22:05:43 -04:00
Because it's 2016!
This commit is contained in:
@@ -23,21 +23,9 @@ namespace NzbDrone.Core.Test.Framework
|
||||
|
||||
protected BasicRepository<TModel> Storage { get; private set; }
|
||||
|
||||
protected IList<TModel> AllStoredModels
|
||||
{
|
||||
get
|
||||
{
|
||||
return Storage.All().ToList();
|
||||
}
|
||||
}
|
||||
protected IList<TModel> AllStoredModels => Storage.All().ToList();
|
||||
|
||||
protected TModel StoredModel
|
||||
{
|
||||
get
|
||||
{
|
||||
return Storage.All().Single();
|
||||
}
|
||||
}
|
||||
protected TModel StoredModel => Storage.All().Single();
|
||||
|
||||
[SetUp]
|
||||
public void CoreTestSetup()
|
||||
@@ -66,13 +54,7 @@ namespace NzbDrone.Core.Test.Framework
|
||||
{
|
||||
private ITestDatabase _db;
|
||||
|
||||
protected virtual MigrationType MigrationType
|
||||
{
|
||||
get
|
||||
{
|
||||
return MigrationType.Main;
|
||||
}
|
||||
}
|
||||
protected virtual MigrationType MigrationType => MigrationType.Main;
|
||||
|
||||
protected ITestDatabase Db
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user