Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/System.DirectoryServices/tests/System/DirectoryServices/ActiveDirectory/ForestTests.cs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/System.DirectoryServices/tests/System/DirectoryServices/ActiveDirectory/ForestTests.cs b/src/System.DirectoryServices/tests/System/DirectoryServices/ActiveDirectory/ForestTests.cs
index c2b9bb35d9..1cf2af3eb5 100644
--- a/src/System.DirectoryServices/tests/System/DirectoryServices/ActiveDirectory/ForestTests.cs
+++ b/src/System.DirectoryServices/tests/System/DirectoryServices/ActiveDirectory/ForestTests.cs
@@ -58,7 +58,6 @@ namespace System.DirectoryServices.ActiveDirectory.Tests
var context = new DirectoryContext(type, name);
if (!PlatformDetection.IsDomainJoinedMachine)
{
- Assert.Throws<ActiveDirectoryObjectNotFoundException>(() => Forest.GetForest(context));
Exception exception = Record.Exception(() => Forest.GetForest(context));
Assert.NotNull(exception);
Assert.True(exception is ActiveDirectoryObjectNotFoundException ||