Included test
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
65e68cf4dd
commit
0c6852f35a
|
@ -1,9 +1,7 @@
|
||||||
const {models} = require('vn-loopback/server/server');
|
const {models} = require('vn-loopback/server/server');
|
||||||
|
|
||||||
describe('account changePassword()', () => {
|
fdescribe('account changePassword()', () => {
|
||||||
it('should throw an error when old password is wrong', async() => {
|
it('should throw an error when old password is wrong', async() => {
|
||||||
pending('#4038 - Throws a timeout error on CI but not locally');
|
|
||||||
|
|
||||||
let err;
|
let err;
|
||||||
await models.Account.changePassword(1, 'wrongPassword', 'nightmare.9999')
|
await models.Account.changePassword(1, 'wrongPassword', 'nightmare.9999')
|
||||||
.catch(error => err = error.sqlMessage);
|
.catch(error => err = error.sqlMessage);
|
||||||
|
|
Loading…
Reference in New Issue