Skip to content

Commit

Permalink
fixed tests for #SNRGY-2732
Browse files Browse the repository at this point in the history
  • Loading branch information
hahahannes committed Sep 5, 2023
1 parent 02fa114 commit 7e83c26
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/modules/dashboard/dashboard.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ describe('DashboardComponent', () => {
const dashboardServiceSpy: Spy<DashboardService> = createSpyFromClass<DashboardService>(DashboardService, {
observablePropsToSpyOn: ['dashboardObservable', 'dashboardWidgetObservable']
});
dashboardServiceSpy.userHasCreateAuthorization.and.returnValue(of(true))
dashboardServiceSpy.userHasUpdateAuthorization.and.returnValue(of(true))
dashboardServiceSpy.userHasDeleteAuthorization.and.returnValue(of(true))
dashboardServiceSpy.userHasCreateDashboardAuthorization.and.returnValue(of(true))
dashboardServiceSpy.userHasUpdateDashboardAuthorization.and.returnValue(of(true))
dashboardServiceSpy.userHasDeleteDashboardAuthorization.and.returnValue(of(true))
const deviceStatusServiceSpy: Spy<DeviceStatusService> = createSpyFromClass<DeviceStatusService>(DeviceStatusService);

beforeEach(
Expand Down

0 comments on commit 7e83c26

Please sign in to comment.