Skip to content

Commit 6cc3591

Browse files
committed
delete temporary files
1 parent f8fdcaa commit 6cc3591

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/DocumentFormat.OpenXml.Packaging.Tests/OpenXmlPackageTests.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,13 +384,19 @@ public void IsEncryptedOfficeFile_ReturnsTrue_ForEncryptedFilePath()
384384
{
385385
string filePath = GetTestFilePath(TestFiles.Encrypted_pptx);
386386
Assert.True(OpenXmlPackage.IsEncryptedOfficeFile(filePath));
387+
388+
// Clean up the test file path
389+
File.Delete(filePath);
387390
}
388391

389392
[Fact]
390393
public void IsEncryptedOfficeFile_ReturnsFalse_ForUnencryptedFile_FromString()
391394
{
392395
string filePath = GetTestFilePath(TestFiles.Presentation);
393396
Assert.False(OpenXmlPackage.IsEncryptedOfficeFile(filePath));
397+
398+
// Clean up the test file path
399+
File.Delete(filePath);
394400
}
395401
}
396402
}

0 commit comments

Comments
 (0)