Create clean release database baseline
This commit is contained in:
@@ -133,7 +133,6 @@ function createTestDatabase(): DatabaseContext {
|
||||
id: "row-1",
|
||||
circuitId: "circuit-1",
|
||||
linkedProjectDeviceId: "device-1",
|
||||
legacyConsumerId: "legacy-1",
|
||||
sortOrder: 10,
|
||||
name: "Leuchte",
|
||||
displayName: "Leuchte lokal",
|
||||
@@ -163,7 +162,6 @@ function createInsertSnapshot(
|
||||
id: "row-new",
|
||||
circuitId: "circuit-reserve",
|
||||
linkedProjectDeviceId: "device-1",
|
||||
legacyConsumerId: null,
|
||||
sortOrder: 10,
|
||||
name: "Steckdose",
|
||||
displayName: "Steckdose lokal",
|
||||
@@ -423,10 +421,6 @@ describe("circuit device-row structure project-command repository", () => {
|
||||
roomId: "room-foreign",
|
||||
}),
|
||||
createInsertSnapshot({ id: "row-1" }),
|
||||
createInsertSnapshot({
|
||||
id: "row-legacy",
|
||||
legacyConsumerId: "legacy-user-value",
|
||||
}),
|
||||
]) {
|
||||
assert.throws(() =>
|
||||
store.execute({
|
||||
|
||||
Reference in New Issue
Block a user