public static void DestroyPlayground() { //delete the site indidually to remove it from the PortalContext sites collection if (TestSite != null) { TestSite.ForceDelete(); } if (Node.Exists(_testRootPath)) { Node.ForceDelete(_testRootPath); } _fileTemplate1 = null; _fileTemplate2 = null; _fileGlobalTemplate1 = null; _listTemplate1 = null; _listGlobalTemplate1 = null; _list1 = null; _list2 = null; _ws1 = null; _ws2 = null; _ws3 = null; _tl1 = null; _testRoot = null; }
public static void DestroyPlayground() { //delete the site indidually to remove it from the PortalContext sites collection if (TestSite != null) { TestSite.ForceDelete(); } if (Node.Exists(_testRootPath)) { Node.ForceDelete(_testRootPath); } }