Skip to content

Commit

Permalink
Authentication Test
Browse files Browse the repository at this point in the history
  • Loading branch information
edzzn committed Mar 8, 2018
1 parent a0ec68f commit eec4926
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion test/indexTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ describe('Ucuenca Notes', () => {
});
});


describe('Ucuenca Schedule', () => {
it('Check 0104378690\'s schedule.', (done) => {
uc.schedule({ studentId: '0104378690' }, (err, res) => {
Expand All @@ -71,4 +70,14 @@ describe('Ucuenca Schedule', () => {
done();
});
});
});

describe('Ucuenca Authentication', () => {

it('Check wrong password.', (done) => {
uc.authentication({ user: 'edisson.reinozo', passw: 'NotThisOne' }, (err, res) => {
assert.isFalse(res[0]['Autenticacion']);
done();
});
});
});

0 comments on commit eec4926

Please sign in to comment.