Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
williambelle committed Aug 12, 2021
1 parent 2b34926 commit 23bc755
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions test/test-email.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ describe('epfl-people-api findByEmail', () => {
});
});

it('should find email gregory.charmier@epfl.ch', () => {
it('should find email yves.junod@epfl.ch', () => {
return epflPeopleApi.findByEmail(
'gregory.charmier@epfl.ch'
'yves.junod@epfl.ch'
).then((res) => {
res.name.should.equal('Charmier');
res.firstname.should.equal('Grégory');
res.office.should.equal('INN 013');
res.name.should.equal('Junod');
res.firstname.should.equal('Yves');
res.office.should.equal('MA B0 449');
});
});
});
10 changes: 5 additions & 5 deletions test/test-sciper.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ describe('epfl-people-api findBySciper', function () {
});
});

it('should find sciper 188475', function () {
return epflPeopleApi.findBySciper(188475, undefined).then((res) => {
res.name.should.equal('Charmier');
res.firstname.should.equal('Grégory');
res.office.should.equal('INN 013');
it('should find sciper 160781', function () {
return epflPeopleApi.findBySciper(160781, undefined).then((res) => {
res.name.should.equal('Junod');
res.firstname.should.equal('Yves');
res.office.should.equal('MA B0 449');
});
});
});

0 comments on commit 23bc755

Please sign in to comment.