aboutsummaryrefslogtreecommitdiffstats
path: root/lang/js/BrowserTestExtension/tests/signTest.js
diff options
context:
space:
mode:
authorMaximilian Krambach <[email protected]>2018-05-28 14:52:50 +0000
committerMaximilian Krambach <[email protected]>2018-05-28 14:52:50 +0000
commitd4adbf453d39659eee378b2be1d7125315d76083 (patch)
treef560b50bacf8b64a019326c2cf4c72b43457adc8 /lang/js/BrowserTestExtension/tests/signTest.js
parentjs: implement Key handling (1) (diff)
downloadgpgme-d4adbf453d39659eee378b2be1d7125315d76083.tar.gz
gpgme-d4adbf453d39659eee378b2be1d7125315d76083.zip
js: Treat a connection as a gpgme Context
-- * After an operation a connection should be disconnected again. The "end of operation" is now assumed to be either an error as answer, or a message not including a "more" * GPGME, GPGME_Key, GPGME_Keyring don't require a connection anymore * Message.js: The Message.post() method will open a connection as required
Diffstat (limited to 'lang/js/BrowserTestExtension/tests/signTest.js')
-rw-r--r--lang/js/BrowserTestExtension/tests/signTest.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/lang/js/BrowserTestExtension/tests/signTest.js b/lang/js/BrowserTestExtension/tests/signTest.js
index e3323721..2e5edb30 100644
--- a/lang/js/BrowserTestExtension/tests/signTest.js
+++ b/lang/js/BrowserTestExtension/tests/signTest.js
@@ -30,7 +30,6 @@ describe('Signing', function () {
expect(answer.data).to.include('BEGIN PGP SIGNATURE');
expect(answer.data).to.include('END PGP SIGNATURE');
expect(answer.data).to.include(data);
- context.connection.disconnect();
done();
});
});
@@ -49,7 +48,6 @@ describe('Signing', function () {
expect(answer.data).to.include(data);
expect(answer.signature).to.be.a('string');
expect(answer.signature).to.be.a('string');
- context.connection.disconnect();
done();
});
});