js: cleanup after key import test

--

* one of the public Keys imported was not removed afterwards.
This commit is contained in:
Maximilian Krambach 2018-08-31 10:35:35 +02:00
parent 55991aa916
commit 346dfac0de

View File

@ -51,7 +51,9 @@ describe('Key information', function () {
const user = result.Keys[0].key.get('userids')[0];
expect(user.get('name')).to.equal(
inputvalues.publicKeyNonAscii.userid);
done();
result.Keys[0].delete().then(function (){
done();
});
});
});
});