mirror of
https://github.com/nasa/openmct.git
synced 2025-06-12 20:28:14 +00:00
[Time Conductor] Update ConductorTelemetryDecorator spec
...to reflect that TimeConductor exposes whole domain metadata, not just key.
This commit is contained in:
@ -77,7 +77,7 @@ define(
|
|||||||
|
|
||||||
mockConductor.displayStart.andReturn(42);
|
mockConductor.displayStart.andReturn(42);
|
||||||
mockConductor.displayEnd.andReturn(1977);
|
mockConductor.displayEnd.andReturn(1977);
|
||||||
mockConductor.domain.andReturn("testDomain");
|
mockConductor.domain.andReturn({ key: "testDomain" });
|
||||||
|
|
||||||
decorator = new ConductorTelemetryDecorator(
|
decorator = new ConductorTelemetryDecorator(
|
||||||
mockConductorService,
|
mockConductorService,
|
||||||
@ -104,7 +104,7 @@ define(
|
|||||||
});
|
});
|
||||||
|
|
||||||
it("with domain selection", function () {
|
it("with domain selection", function () {
|
||||||
expect(request.domain).toEqual(mockConductor.domain());
|
expect(request.domain).toEqual(mockConductor.domain().key);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -127,7 +127,7 @@ define(
|
|||||||
});
|
});
|
||||||
|
|
||||||
it("with domain selection", function () {
|
it("with domain selection", function () {
|
||||||
expect(request.domain).toEqual(mockConductor.domain());
|
expect(request.domain).toEqual(mockConductor.domain().key);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user