fixed broken tests

pull/6/head
kay.one 14 years ago
parent be86c3ba52
commit be74c67df8

@ -33,6 +33,7 @@ namespace NzbDrone.Core.Test
{
try
{
File.Delete(file);
}
catch

@ -92,6 +92,7 @@ namespace NzbDrone.Core.Test
var timerProvider = mocker.Resolve<JobProvider>();
timerProvider.Initialize();
var firstRun = timerProvider.RunScheduled();
Thread.Sleep(2000);
var secondRun = timerProvider.RunScheduled();
Assert.IsTrue(firstRun);

Loading…
Cancel
Save