diff --git a/test/unit/connection/test-auth-switch-clear-insecure.js b/test/unit/connection/test-auth-switch-clear-insecure.js index c054331bb..b8fc20f8e 100644 --- a/test/unit/connection/test-auth-switch-clear-insecure.js +++ b/test/unit/connection/test-auth-switch-clear-insecure.js @@ -1,4 +1,5 @@ var assert = require('assert'); +var Buffer = require('safe-buffer').Buffer; var common = require('../../common'); var connection = common.createConnection({ port : common.fakeServerPort, diff --git a/test/unit/connection/test-auth-switch-clear-secure.js b/test/unit/connection/test-auth-switch-clear-secure.js index edb247a19..08f420eda 100644 --- a/test/unit/connection/test-auth-switch-clear-secure.js +++ b/test/unit/connection/test-auth-switch-clear-secure.js @@ -1,4 +1,5 @@ var assert = require('assert'); +var Buffer = require('safe-buffer').Buffer; var common = require('../../common'); var connection = common.createConnection({ port : common.fakeServerPort,