[bcl] Remove the ValueAdd and InetAccess NUnit categories (#2212)
[mono.git] / mcs / class / System.DirectoryServices / Test / System.DirectoryServices / DirectoryServicesDirectorySearcherTest.cs
index 2775fcb7b4e2af125128843eb69d1a041551d821..95ce2662c54a5b5fbe1b9642e54ce748951e5e26 100644 (file)
@@ -15,7 +15,6 @@ using System.Threading;
 namespace MonoTests.System.DirectoryServices \r
 {\r
        [TestFixture]\r
-       [Category ("InetAccess")]\r
        public class DirectoryServicesDirectorySearcherTest\r
        {\r
                #region Fields\r
@@ -33,6 +32,9 @@ namespace MonoTests.System.DirectoryServices
                {\r
                        de = null;                      \r
                        configuration = new TestConfiguration ();\r
+\r
+                       if (String.IsNullOrEmpty (configuration.ConnectionString))\r
+                               Assert.Ignore ("No configuration");\r
                }\r
 \r
 \r