We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8fdcaa commit 6cc3591Copy full SHA for 6cc3591
test/DocumentFormat.OpenXml.Packaging.Tests/OpenXmlPackageTests.cs
@@ -384,13 +384,19 @@ public void IsEncryptedOfficeFile_ReturnsTrue_ForEncryptedFilePath()
384
{
385
string filePath = GetTestFilePath(TestFiles.Encrypted_pptx);
386
Assert.True(OpenXmlPackage.IsEncryptedOfficeFile(filePath));
387
+
388
+ // Clean up the test file path
389
+ File.Delete(filePath);
390
}
391
392
[Fact]
393
public void IsEncryptedOfficeFile_ReturnsFalse_ForUnencryptedFile_FromString()
394
395
string filePath = GetTestFilePath(TestFiles.Presentation);
396
Assert.False(OpenXmlPackage.IsEncryptedOfficeFile(filePath));
397
398
399
400
401
402
0 commit comments