Updated test

This commit is contained in:
delvedor
2019-02-19 08:31:09 +01:00
parent 98e8bbd63d
commit bcf895294b
3 changed files with 75 additions and 6 deletions

View File

@ -53,6 +53,20 @@ TestRunner.prototype.cleanup = function (q, done) {
})
})
q.add((q, done) => {
this.client.snapshot.delete({ repository: '*', snapshot: '*' }, { ignore: 404 }, err => {
this.tap.error(err, 'should not error:snapshot.delete')
done()
})
})
q.add((q, done) => {
this.client.snapshot.deleteRepository({ repository: '*' }, { ignore: 404 }, err => {
this.tap.error(err, 'should not error:snapshot.deleteRepository')
done()
})
})
done()
}