diff --git a/test/integration/connection/cleartext-password-tests.js b/test/integration/connection/cleartext-password-tests.js deleted file mode 100644 index f447a882..00000000 --- a/test/integration/connection/cleartext-password-tests.js +++ /dev/null @@ -1,11 +0,0 @@ -var helper = require(__dirname + '/test-helper'); -test('can log in with clear text password', function() { - helper.authConnect('user_pw', 'postgres', function(con) { - assert.raises(con, 'authenticationCleartextPassword', function() { - con.password('pass'); - }); - assert.raises(con, 'readyForQuery', function() { - con.end(); - }); - }); -}); diff --git a/test/integration/connection/md5-password-tests.js b/test/integration/connection/md5-password-tests.js deleted file mode 100644 index e1116526..00000000 --- a/test/integration/connection/md5-password-tests.js +++ /dev/null @@ -1,16 +0,0 @@ -var helper = require(__dirname + '/test-helper'); - -test('can log in with md5 password', function() { - helper.authConnect('user_md5', 'postgres', function(con) { - - assert.raises(con, 'authenticationMD5Password', function(msg) { - assert.ok(msg.salt); - var enc = Client.md5('ssap' + 'user_md5'); - enc = Client.md5(enc + msg.salt.toString('binary')); - con.password('md5'+enc); - }); - assert.raises(con, 'readyForQuery', function() { - con.end(); - }); - }); -}); diff --git a/test/integration/connection/no-password-tests.js b/test/integration/connection/no-password-tests.js deleted file mode 100644 index 16f2706b..00000000 --- a/test/integration/connection/no-password-tests.js +++ /dev/null @@ -1,8 +0,0 @@ -var helper = require(__dirname+'/test-helper'); -test('can log in with no password', function() { - helper.authConnect(function(con) { - assert.raises(con, 'readyForQuery', function() { - con.end(); - }); - }); -});