Эх сурвалжийг харах

oldPassword is not needed

Girish Ramakrishnan 6 жил өмнө
parent
commit
f849fb3072
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      test/test.js

+ 2 - 2
test/test.js

@@ -21,7 +21,7 @@ describe('Application life cycle test', function () {
 
     var chrome = require('selenium-webdriver/chrome');
     var server, browser = new chrome.Driver(), uploadedImageUrl;
-    var username = 'admin', password = 'changeme123', oldPassword = 'changeme';
+    var username = 'admin', password = 'changeme123';
 
     before(function (done) {
         var seleniumJar= require('selenium-server-standalone-jar');
@@ -248,7 +248,7 @@ describe('Application life cycle test', function () {
         app = inspect.apps.filter(function (a) { return a.location === LOCATION; })[0];
         expect(app).to.be.an('object');
     });
-    it('can login', login.bind(null, username, oldPassword));
+    it('can login', login.bind(null, username, password));
     it('check mail plugin', checkMailPlugin);
     it('can update', function () {
         execSync('cloudron install --wait --app ' + LOCATION, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });