[ADF-3791] [User Info] - SSO - User Info displays only the First Name* Fixed display fullname * Updated unit test for the recent changes (#4022)

This commit is contained in:
siva kumar
2018-11-28 20:55:31 +05:30
committed by Maurizio Vitale
parent eb2ca06526
commit b5c693fe79
3 changed files with 7 additions and 8 deletions

View File

@@ -39,7 +39,7 @@ describe('JwtHelperService', () => {
const result = jwtHelperService.decodeToken(mockToken);
expect(result).toBeDefined();
expect(result).not.toBeNull('');
expect(result['given_name']).toBe('John Doe');
expect(result['name']).toBe('John Doe');
expect(result['email']).toBe('johnDoe@gmail.com');
});
});