small clean for fetchvideos

This commit is contained in:
hak8or 2018-02-18 14:06:16 -05:00
parent f86597686f
commit b921410515
1 changed files with 3 additions and 1 deletions

View File

@ -18,9 +18,11 @@ namespace YTManager.Tasks
ApplicationName = "testingapppp"
});
// Get all the channels to update.
// Get the interface to the database.
var ops = new DbContextOptionsBuilder<MediaDB>();
ops.UseInMemoryDatabase(databaseName: "testdb");
// Get all the channels to update.
using (var dbcontext = new MediaDB(ops.Options)) {
// Get all the potential relevant channels.
List<Models.Channel> channels;