mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-08 18:44:14 +00:00
Fixed test
This commit is contained in:
@@ -166,7 +166,7 @@ describe('MyDSpacePageComponent', () => {
|
|||||||
let menu: HTMLElement;
|
let menu: HTMLElement;
|
||||||
|
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
menu = fixture.debugElement.query(By.css('#mydspace-sidebar-sm')).nativeElement;
|
menu = fixture.debugElement.query(By.css('#search-sidebar-sm')).nativeElement;
|
||||||
comp.isSidebarCollapsed = () => observableOf(true);
|
comp.isSidebarCollapsed = () => observableOf(true);
|
||||||
fixture.detectChanges();
|
fixture.detectChanges();
|
||||||
});
|
});
|
||||||
@@ -181,7 +181,7 @@ describe('MyDSpacePageComponent', () => {
|
|||||||
let menu: HTMLElement;
|
let menu: HTMLElement;
|
||||||
|
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
menu = fixture.debugElement.query(By.css('#mydspace-sidebar-sm')).nativeElement;
|
menu = fixture.debugElement.query(By.css('#search-sidebar-sm')).nativeElement;
|
||||||
comp.isSidebarCollapsed = () => observableOf(false);
|
comp.isSidebarCollapsed = () => observableOf(false);
|
||||||
fixture.detectChanges();
|
fixture.detectChanges();
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user