Fix scheduler-orchestrator spec to use SCHEDULER_API mock

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
master
2026-04-06 09:58:53 +03:00
parent 071209a2ae
commit 541a2c3a12

View File

@@ -123,12 +123,7 @@ describe('scheduler-orchestrator-ops-ui behavior', () => {
imports: [SchedulerRunsComponent], imports: [SchedulerRunsComponent],
providers: [ providers: [
provideRouter([]), provideRouter([]),
{ { provide: SCHEDULER_API, useValue: createSchedulerApiMock() },
provide: HttpClient,
useValue: {
get: () => of([]),
},
},
], ],
}).compileComponents(); }).compileComponents();