Skip to content
This repository has been archived by the owner on Sep 12, 2022. It is now read-only.

Commit

Permalink
take primary email flag into account for unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dll committed May 15, 2017
1 parent 6621be3 commit 62c20fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/taccounts-test.js
Expand Up @@ -80,7 +80,7 @@ describe('TAccounts user profile', function() {
expect(err).to.not.exist;
expect(profile.displayName).to.be.deep.equal(fakeProfile.name);
expect(profile.id).to.be.deep.equal(fakeProfile.sub);
expect(profile.emails[0]).to.be.deep.equal(fakeProfile.email);
expect(profile.emails[0].value).to.be.deep.equal(fakeProfile.email);
expect(profile.payload).to.be.deep.equal(fakeProfile);
done();
});
Expand Down

0 comments on commit 62c20fa

Please sign in to comment.