mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-11 12:02:35 +02:00
27 lines
522 B
C#
27 lines
522 B
C#
|
using System;
|
||
|
using System.IO;
|
||
|
using MbUnit.Framework;
|
||
|
|
||
|
namespace NzbDrone.Core.Test
|
||
|
{
|
||
|
[AssemblyFixture]
|
||
|
public class Fixtures
|
||
|
{
|
||
|
[TearDown]
|
||
|
public void TearDown()
|
||
|
{
|
||
|
var dbFiles = Directory.GetFiles(Directory.GetCurrentDirectory(), "*.testdb");
|
||
|
|
||
|
foreach (var dbFile in dbFiles)
|
||
|
{
|
||
|
try
|
||
|
{
|
||
|
File.Delete(dbFile);
|
||
|
}
|
||
|
catch
|
||
|
{ }
|
||
|
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|