From dacb1197155cb953953b75677c1783df2cba0ed6 Mon Sep 17 00:00:00 2001 From: Maximilian Krambach Date: Fri, 31 Aug 2018 15:24:38 +0200 Subject: [PATCH] js: key deletion after test -- * Yet again some wrong syntax in Browsertests --- lang/js/BrowserTestExtension/tests/KeyInfos.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/js/BrowserTestExtension/tests/KeyInfos.js b/lang/js/BrowserTestExtension/tests/KeyInfos.js index 70f07050..553aedb9 100644 --- a/lang/js/BrowserTestExtension/tests/KeyInfos.js +++ b/lang/js/BrowserTestExtension/tests/KeyInfos.js @@ -51,9 +51,9 @@ describe('Key information', function () { const user = result.Keys[0].key.get('userids')[0]; expect(user.get('name')).to.equal( inputvalues.publicKeyNonAscii.userid); - result.Keys[0].delete().then(function (){ + result.Keys[0].key.delete().then(function (){ done(); }); }); }); -}); \ No newline at end of file +});