You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Prowlarr/NzbDrone.Core.Test/Framework/Fixtures.cs

26 lines
569 B

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)
14 years ago
{
try
{
File.Delete(file);
}
catch { }
14 years ago
}
MockLib.CreateDataBaseTemplate();
}
}