예제 #1
0
        public async Task DestroyClient()
        {
            // Remove album used for testing
            await _client.DeleteAlbum(_albumUsedForTestingPrivate.Id);

            await _client.DeleteAlbum(_albumUsedForTesting.Id);

            _client.Dispose();
        }
예제 #2
0
        public async Task DestroyClient()
        {
            string[] publicIds    = _uploadedFiles.Select(f => f.PublicId).ToArray();
            var      removedFiles = (await this.RemoveMultipleFiles(publicIds).ConfigureAwait(false)).ToList();

            Assert.IsNotEmpty(removedFiles);
            Assert.AreEqual(publicIds.Length, removedFiles.Count);
            _client.Dispose();
        }
예제 #3
0
        public async Task DestroyClient()
        {
            var succ = await _client.AdminRemoveUser(_userToRename.Id);

            Assert.IsTrue(succ.HasValue);
            Assert.IsTrue(succ.Value);
            // Remove removeMePlease if it didnt happen yet but dont test it
            await _client.AdminRemoveUser(_userToRemove.Id);

            _client.Dispose();
        }
예제 #4
0
 public void DestroyClient()
 {
     _client.Dispose();
 }