Skip to content

Commit fe3cef2

Browse files
nmggithubZJONSSON
authored andcommitted
add tests
1 parent cced61f commit fe3cef2

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
var assert = require('assert');
2+
var common = require('../../common');
3+
4+
common.getTestConnection({ flags: ['-PLUGIN_AUTH'] }, function (err) {
5+
assert.ok(err, 'got error');
6+
});
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
var assert = require('assert');
2+
var common = require('../../common');
3+
4+
common.getTestConnection({ flags: ['+PLUGIN_AUTH'] }, function (err, connection) {
5+
assert.ifError(err, 'got error');
6+
connection.destroy();
7+
});

0 commit comments

Comments
 (0)