mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-05 10:32:35 +01:00
26 lines
569 B
C#
26 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();
|
|
}
|
|
}
|