diff --git a/SafeExamBrowser.Client.UnitTests/ClientControllerTests.cs b/SafeExamBrowser.Client.UnitTests/ClientControllerTests.cs index e33aca8d..fedff3bc 100644 --- a/SafeExamBrowser.Client.UnitTests/ClientControllerTests.cs +++ b/SafeExamBrowser.Client.UnitTests/ClientControllerTests.cs @@ -626,7 +626,7 @@ namespace SafeExamBrowser.Client.UnitTests } [TestMethod] - public void Reconfiguration_MustAllowWithQuitPasswordAndNoUrl() + public void Reconfiguration_MustNotAllowWithQuitPasswordAndNoUrl() { var args = new DownloadEventArgs(); @@ -637,10 +637,9 @@ namespace SafeExamBrowser.Client.UnitTests sut.TryStart(); browser.Raise(b => b.ConfigurationDownloadRequested += null, "filepath.seb", args); - args.Callback(true, string.Empty); - runtimeProxy.Verify(r => r.RequestReconfiguration(It.IsAny(), It.IsAny()), Times.Once); - Assert.IsTrue(args.AllowDownload); + runtimeProxy.Verify(r => r.RequestReconfiguration(It.IsAny(), It.IsAny()), Times.Never); + Assert.IsFalse(args.AllowDownload); } [TestMethod]