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 +});