Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
williambelle committed Dec 7, 2022
1 parent 278862a commit 8582c7d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -39,7 +39,7 @@ const epflPeopleApi = require('epfl-people-api');
const person = await epflPeopleApi.findBySciper(128871, 'en');
console.log(person.firstname); // => 'Lindo'
console.log(person.name); // => 'Duratti'
console.log(person.accreds[0].officeList[0]); // => 'MA A0 393'
console.log(person.accreds[0].officeList[0]); // => 'INN 018'
console.log(person.accreds[0].position); // => 'Computer Scientist'


Expand Down
2 changes: 1 addition & 1 deletion test/test-email.js
Expand Up @@ -39,7 +39,7 @@ describe('epfl-people-api findByEmail', function () {
);
assert.equal(person.name, 'Duratti');
assert.equal(person.firstname, 'Lindo');
assert.equal(person.accreds[0].officeList[0], 'MA A0 393');
assert.equal(person.accreds[0].officeList[0], 'INN 018');
});

it('should find email yves.junod@epfl.ch', async () => {
Expand Down
2 changes: 1 addition & 1 deletion test/test-sciper.js
Expand Up @@ -69,7 +69,7 @@ describe('epfl-people-api findBySciper', function () {
const person = await epflPeopleApi.findBySciper(128871, 'en');
assert.equal(person.name, 'Duratti');
assert.equal(person.firstname, 'Lindo');
assert.equal(person.accreds[0].officeList[0], 'MA A0 393');
assert.equal(person.accreds[0].officeList[0], 'INN 018');
assert.equal(person.accreds[0].position, 'Computer Scientist');
});

Expand Down

0 comments on commit 8582c7d

Please sign in to comment.