mirror of
https://github.com/nasa/openmct.git
synced 2025-06-11 11:51:40 +00:00
[Time Conductor] Update ConductorTelemetryDecorator spec
...to reflect that TimeConductor exposes whole domain metadata, not just key.
This commit is contained in:
parent
60e97eb94a
commit
2ee53b17db
@ -77,7 +77,7 @@ define(
|
||||
|
||||
mockConductor.displayStart.andReturn(42);
|
||||
mockConductor.displayEnd.andReturn(1977);
|
||||
mockConductor.domain.andReturn("testDomain");
|
||||
mockConductor.domain.andReturn({ key: "testDomain" });
|
||||
|
||||
decorator = new ConductorTelemetryDecorator(
|
||||
mockConductorService,
|
||||
@ -104,7 +104,7 @@ define(
|
||||
});
|
||||
|
||||
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 () {
|
||||
expect(request.domain).toEqual(mockConductor.domain());
|
||||
expect(request.domain).toEqual(mockConductor.domain().key);
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user