mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-29 02:55:38 +00:00
25 lines
569 B
C#
25 lines
569 B
C#
using System.IO;
|
|
// ReSharper disable CheckNamespace
|
|
using NUnit.Framework;
|
|
using NzbDrone.Core.Test.Framework;
|
|
using NzbDrone.Test.Common;
|
|
|
|
[SetUpFixture]
|
|
public class Fixtures : LoggingFixtures
|
|
{
|
|
[SetUp]
|
|
public void SetUp()
|
|
{
|
|
var oldDbFiles = Directory.GetFiles(Directory.GetCurrentDirectory(), "*.sdf", SearchOption.AllDirectories);
|
|
foreach (var file in oldDbFiles)
|
|
{
|
|
try
|
|
{
|
|
File.Delete(file);
|
|
}
|
|
catch { }
|
|
}
|
|
|
|
MockLib.CreateDataBaseTemplate();
|
|
}
|
|
}
|