diff --git a/plugins/arcgis/web-app/projects/showcase/src/app/arc.service.mock.ts b/plugins/arcgis/web-app/projects/showcase/src/app/arc.service.mock.ts index c776d564d..0a5ee0709 100644 --- a/plugins/arcgis/web-app/projects/showcase/src/app/arc.service.mock.ts +++ b/plugins/arcgis/web-app/projects/showcase/src/app/arc.service.mock.ts @@ -1,10 +1,10 @@ import { Observable, of } from "rxjs"; import { Injectable } from '@angular/core' -import { ArcServiceInterface } from "../../../main/src/lib/arc.service"; -import { EventResult } from '../../../main/src/lib/EventsResult'; +import { ArcServiceInterface, FeatureLayer } from "../../../main/src/lib/arc.service"; import { ArcGISPluginConfig, defaultArcGISPluginConfig } from '../../../main/src/lib/ArcGISPluginConfig'; +import { MageEvent } from "../../../main/src/lib/arc.service"; -export const mockArcGISEventResult = Object.freeze({ +export const mockArcGISEventResult = Object.freeze({ id: 0, name: 'test event result name', forms: [{ @@ -20,6 +20,9 @@ export const mockArcGISEventResult = Object.freeze({ providedIn: 'root' }) export class MockArcService implements ArcServiceInterface { + fetchFeatureServiceLayers(featureServiceUrl: string): Observable { + throw new Error("Method not implemented."); + } fetchArcConfig(): Observable { return of(defaultArcGISPluginConfig) }