Fix failing test

This commit is contained in:
Mark McDowall 2017-10-22 23:18:37 -07:00
parent 1d3c536c93
commit 1d2b35fdde
No known key found for this signature in database
GPG Key ID: D4CEFA9A718052E0
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
using System;
using System;
using System.IO;
using System.Linq;
using Moq;
@ -238,7 +238,7 @@ namespace NzbDrone.Common.Test.DiskTests
WithExistingFile(_targetPath);
Assert.Throws<IOException>(() => Subject.TransferFile(_sourcePath, _targetPath, TransferMode.Move, false));
Assert.Throws<DestinationAlreadyExistsException>(() => Subject.TransferFile(_sourcePath, _targetPath, TransferMode.Move, false));
Mocker.GetMock<IDiskProvider>()
.Verify(v => v.DeleteFile(_targetPath), Times.Never());