Create clean release database baseline
This commit is contained in:
@@ -82,9 +82,6 @@ function createSnapshot(): DistributionBoardSubtreeSnapshot {
|
||||
equipmentIdentifier: "-1F1.1",
|
||||
displayName: "Licht",
|
||||
sortOrder: 10,
|
||||
protectionType: null,
|
||||
protectionRatedCurrent: null,
|
||||
protectionCharacteristic: null,
|
||||
cableType: "NYM-J",
|
||||
cableCrossSection: "3x1,5 mm²",
|
||||
cableLength: 10,
|
||||
@@ -100,7 +97,6 @@ function createSnapshot(): DistributionBoardSubtreeSnapshot {
|
||||
id: "row-1",
|
||||
circuitId: "circuit-1",
|
||||
linkedProjectDeviceId: "device-1",
|
||||
legacyConsumerId: "legacy-1",
|
||||
sortOrder: 10,
|
||||
name: "Leuchte",
|
||||
displayName: "Leuchte",
|
||||
@@ -176,7 +172,6 @@ describe("distribution-board subtree snapshot", () => {
|
||||
"device-1"
|
||||
);
|
||||
assert.equal(clone.circuits[0].deviceRows[0].roomId, "room-1");
|
||||
assert.equal(clone.circuits[0].deviceRows[0].legacyConsumerId, null);
|
||||
assert.equal(clone.circuits[0].protectionDevice?.circuitId, "new-3");
|
||||
assert.doesNotThrow(() => assertDistributionBoardSubtreeSnapshot(clone));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user