public void OneTimeSetUp() { _testFolderName = "Test_Folder" + Guid.NewGuid(); _factory = EnvironmentCheck.FactoryForEnvironment(); _filesApi = _factory.Api <IFilesApi>(); _foldersApi = _factory.Api <IFoldersApi>(); }
public void SetUp() { _factory = EnvironmentCheck.FactoryForEnvironment(); _foldersApi = _factory.Api <IFoldersApi>(); _testFolderId = _foldersApi.GetRootFolder(filter: "Name eq 'SDK_Test_Folder'").Values.SingleOrDefault()?.Id; var createFolder = new CreateFolder("/", "SDK_Test_Folder"); _testFolderId ??= _foldersApi.CreateFolder(createFolder).Id; }
public void SetUp() { _factory = EnvironmentCheck.FactoryForEnvironment(); }
public void SetUp() { _factory = EnvironmentCheck.FactoryForEnvironment(); _foldersApi = _factory.Api <IFoldersApi>(); _foldersApiExtensions = new FoldersApiExtensions(_foldersApi); }