Переглянути джерело

oldPassword is not needed

Girish Ramakrishnan 6 роки тому
батько
коміт
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' });