1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-23 00:12:44 +00:00

fixed broken tests

This commit is contained in:
kay.one 2011-04-23 12:59:06 -07:00
parent be86c3ba52
commit be74c67df8
2 changed files with 2 additions and 0 deletions

View file

@ -33,6 +33,7 @@ public void FixtureTearDown()
{
try
{
File.Delete(file);
}
catch

View file

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