clean local storage before auth test

This commit is contained in:
Eugenio Romano
2018-06-20 13:00:06 +01:00
parent 131be43ba5
commit 511f97ce25

View File

@@ -37,6 +37,7 @@ describe('AuthenticationService', () => {
beforeEach(() => { beforeEach(() => {
sessionStorage.clear(); sessionStorage.clear();
localStorage.clear();
apiService = TestBed.get(AlfrescoApiService); apiService = TestBed.get(AlfrescoApiService);
authService = TestBed.get(AuthenticationService); authService = TestBed.get(AuthenticationService);