diff --git a/src/NzbDrone.Core.Test/UpdateTests/UpdateServiceFixture.cs b/src/NzbDrone.Core.Test/UpdateTests/UpdateServiceFixture.cs index bd04a2b51..5345cd691 100644 --- a/src/NzbDrone.Core.Test/UpdateTests/UpdateServiceFixture.cs +++ b/src/NzbDrone.Core.Test/UpdateTests/UpdateServiceFixture.cs @@ -92,9 +92,10 @@ namespace NzbDrone.Core.Test.UpdateTests { Mocker.GetMock().Setup(x => x.IsDocker).Returns(true); - Subject.Invoking(x => x.Execute(new ApplicationUpdateCommand())) - .Should().Throw() - .WithMessage("Updating is disabled inside a docker container. Please update the container image."); + Subject.Execute(new ApplicationUpdateCommand()); + + Mocker.GetMock() + .Verify(c => c.Start(It.IsAny(), It.Is(s => s.StartsWith("12")), null, null, null), Times.Never()); } [Test]