aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test-password.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-password.js')
-rw-r--r--tests/test-password.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test-password.js b/tests/test-password.js
index e605dc4..e46ed9c 100644
--- a/tests/test-password.js
+++ b/tests/test-password.js
@@ -8,11 +8,11 @@ var testLogin = "testUser";
var testPass = "verySecret";
var testDomain = "http://www.example.com";
-exports.ensureSetPassword = function (test) {
- passMod.setPassword(testLogin, testPass,
+exports.ensurePasswordMachinery = function (test) {
+ passMod.setLogin(testLogin, testPass,
testDomain, BTSRealm);
test.assertEqual(passMod.getPassword(testLogin,
testDomain, BTSRealm), testPass, "");
- passMod.removePassword(testLogin, testPass,
+ passMod.removeLogin(testLogin, testPass,
testDomain, BTSRealm);
};