Skip to content

Commit bdec73f

Browse files
committed
overwrite: true
1 parent 578b911 commit bdec73f

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

EncryptedConfigValue.Cli.Test/EncryptConfigValueCommandTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ internal void WeEncryptAndPrintAValue(Algorithm algorithm)
5050
.Select(file =>
5151
{
5252
var newPath = Path.Combine(tempDirectory, Path.GetFileName(file) + ".deleted");
53-
File.Move(file, newPath);
53+
File.Move(file, newPath, true);
5454
return newPath;
5555
})
5656
.ToList()
@@ -83,7 +83,7 @@ internal void WeFailIfTheKeyfileDoesNotExist()
8383
.Select(file =>
8484
{
8585
var newPath = Path.Combine(tempDirectory, Path.GetFileName(file) + ".deleted");
86-
File.Move(file, newPath);
86+
File.Move(file, newPath, true);
8787
return newPath;
8888
})
8989
.ToList()

EncryptedConfigValue.Cli.Test/GenerateKeyCommandTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public void WeGenerateAValidKey(Algorithm algorithm)
2828
.Select(file =>
2929
{
3030
var newPath = Path.Combine(tempDirectory, Path.GetFileName(file) + ".deleted");
31-
File.Move(file, newPath);
31+
File.Move(file, newPath, true);
3232
return newPath;
3333
})
3434
.ToList()

EncryptedConfigValue.Module.Test/DecryptingVariableSubstitutorTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public void Dispose()
4848
.Select(file =>
4949
{
5050
var newPath = Path.Combine(tempKeyPath, Path.GetFileName(file) + ".deleted");
51-
File.Move(file, newPath);
51+
File.Move(file, newPath, true);
5252
return newPath;
5353
})
5454
.ToList()

EncryptedConfigValue.Test/EncryptedValueTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ internal void WeCanDecryptUsingAKeyFile(Algorithm algorithm)
140140
.Select(file =>
141141
{
142142
var newPath = Path.Combine(tempDirectory, Path.GetFileName(file) + ".deleted");
143-
File.Move(file, newPath);
143+
File.Move(file, newPath, true);
144144
return newPath;
145145
})
146146
.ToList()

0 commit comments

Comments
 (0)