mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-11 20:12:41 +02:00
Tiny fix in test, left-over from my on-windows test.
This commit is contained in:
parent
ca61ca5c40
commit
0cff6c1fdf
@ -80,17 +80,20 @@ public void should_not_use_verified_transfer_on_windows()
|
||||
.Verify(v => v.MoveFile(_sourcePath, _targetPath, false), Times.Once());
|
||||
}
|
||||
|
||||
[TestCase("fuse.mergerfs")]
|
||||
[TestCase("fuse.rclone")]
|
||||
[TestCase("mergerfs")]
|
||||
[TestCase("rclone")]
|
||||
public void should_not_use_verified_transfer_on_specific_filesystems(string fs)
|
||||
[TestCase("fuse.mergerfs", "")]
|
||||
[TestCase("fuse.rclone", "")]
|
||||
[TestCase("mergerfs", "")]
|
||||
[TestCase("rclone", "")]
|
||||
[TestCase("", "fuse.mergerfs")]
|
||||
[TestCase("", "fuse.rclone")]
|
||||
[TestCase("", "mergerfs")]
|
||||
[TestCase("", "rclone")]
|
||||
public void should_not_use_verified_transfer_on_specific_filesystems(string fsSource, string fsTarget)
|
||||
{
|
||||
MonoOnly();
|
||||
|
||||
_targetMount.DriveFormat = fs;
|
||||
|
||||
Subject.VerificationMode.Should().Be(DiskTransferVerificationMode.VerifyOnly);
|
||||
_sourceMount.DriveFormat = fsSource;
|
||||
_targetMount.DriveFormat = fsTarget;
|
||||
|
||||
var result = Subject.TransferFile(_sourcePath, _targetPath, TransferMode.Move);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user