this should fix one of the tests

This commit is contained in:
Shannon
2015-04-08 17:01:38 +10:00
parent dee45146a4
commit 3f70761d49

View File

@@ -165,7 +165,7 @@ namespace Umbraco.Tests.Scheduling
[Test]
public async void Startup_IsRunning()
{
using (var runner = new BackgroundTaskRunner<IBackgroundTask>(new BackgroundTaskRunnerOptions()))
using (var runner = new BackgroundTaskRunner<IBackgroundTask>(new BackgroundTaskRunnerOptions(){AutoStart = false}))
{
Assert.IsFalse(runner.IsRunning);
runner.StartUp();