mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
Remove useless test
This commit is contained in:
parent
5b0c0affd5
commit
c3f50062d5
@ -25,18 +25,11 @@ describe('CustomAuthStorageService', () => {
|
|||||||
|
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
providers: [
|
providers: [CustomAuthStorageService, { provide: CUSTOM_AUTH_STORAGE_PREFIX, useValue: of('custom-prefix') }]
|
||||||
CustomAuthStorageService,
|
|
||||||
{ provide: CUSTOM_AUTH_STORAGE_PREFIX, useValue: of('custom-prefix') }
|
|
||||||
]
|
|
||||||
});
|
});
|
||||||
service = TestBed.inject(CustomAuthStorageService);
|
service = TestBed.inject(CustomAuthStorageService);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should be created', () => {
|
|
||||||
expect(service).toBeTruthy();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should set the prefix from the observable', () => {
|
it('should set the prefix from the observable', () => {
|
||||||
const expectedPrefix = 'custom-prefix_';
|
const expectedPrefix = 'custom-prefix_';
|
||||||
expect(service.prefix).toBe(expectedPrefix);
|
expect(service.prefix).toBe(expectedPrefix);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user