Ejemplo n.º 1
0
        public async Task RunPostTest(CancellationToken cancellationToken)
        {
            var deleting = await repositoryClient.Delete(cancellationToken);

            Assert.IsNotNull(deleting.ActiveJob);

            await WaitForJob(deleting.ActiveJob, 60, false, null, cancellationToken).ConfigureAwait(false);

            var deleted = await repositoryClient.Read(cancellationToken).ConfigureAwait(false);

            Assert.IsNull(deleted.Origin);
            Assert.IsNull(deleted.Reference);
            Assert.IsNull(deleted.RevisionInformation);
        }
Ejemplo n.º 2
0
 public async Task <bool> Delete(Guid id)
 {
     return(await _repositoryClient.Delete(id));
 }