From 346dfac0de41326553a079af7521a010cc258d6c Mon Sep 17 00:00:00 2001 From: Maximilian Krambach Date: Fri, 31 Aug 2018 10:35:35 +0200 Subject: [PATCH] js: cleanup after key import test -- * one of the public Keys imported was not removed afterwards. --- lang/js/BrowserTestExtension/tests/KeyInfos.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lang/js/BrowserTestExtension/tests/KeyInfos.js b/lang/js/BrowserTestExtension/tests/KeyInfos.js index 430c83a3..70f07050 100644 --- a/lang/js/BrowserTestExtension/tests/KeyInfos.js +++ b/lang/js/BrowserTestExtension/tests/KeyInfos.js @@ -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(); + }); }); }); }); \ No newline at end of file