mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
committed by
Eugenio Romano
parent
53d96679ea
commit
e39a2b149b
@@ -102,7 +102,7 @@ describe('LoginComponent', () => {
|
||||
fixture.detectChanges();
|
||||
}
|
||||
|
||||
it('should be autocompelete off', () => {
|
||||
it('should be autocomplete off', () => {
|
||||
expect(element.querySelector('#adf-login-form').getAttribute('autocomplete')).toBe('off');
|
||||
});
|
||||
|
||||
@@ -493,7 +493,7 @@ describe('LoginComponent', () => {
|
||||
loginWithCredentials('fake-username-CSRF-error', 'fake-password');
|
||||
}));
|
||||
|
||||
it('should return ECOM read-oly error when error occurs', async(() => {
|
||||
it('should return ECM read-only error when error occurs', async(() => {
|
||||
spyOn(authService, 'login')
|
||||
.and.returnValue(
|
||||
throwError(
|
||||
|
@@ -229,10 +229,6 @@ export class LoginComponent implements OnInit {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Performe the login service
|
||||
* @param values
|
||||
*/
|
||||
private performLogin(values: any) {
|
||||
this.actualLoginStep = LoginSteps.Checking;
|
||||
this.authService
|
||||
|
Reference in New Issue
Block a user