F5.1: actualizar contrato al timestamp único
This commit is contained in:
@@ -8,7 +8,7 @@ function source(path: string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
test('F5.1 clean start deletes domain instances and audit history but preserves master configuration by contract', () => {
|
test('F5.1 clean start deletes domain instances and audit history but preserves master configuration by contract', () => {
|
||||||
const migration = source('src/database/migrations/1790087300000-f5-1-clean-manual-inventory.ts');
|
const migration = source('src/database/migrations/1790087400000-f5-1-clean-manual-inventory.ts');
|
||||||
assert.match(migration, /TRUNCATE TABLE assets CASCADE/);
|
assert.match(migration, /TRUNCATE TABLE assets CASCADE/);
|
||||||
assert.match(migration, /TRUNCATE TABLE audit_events/);
|
assert.match(migration, /TRUNCATE TABLE audit_events/);
|
||||||
assert.match(migration, /TRUNCATE TABLE administrative_departments CASCADE/);
|
assert.match(migration, /TRUNCATE TABLE administrative_departments CASCADE/);
|
||||||
@@ -19,7 +19,7 @@ test('F5.1 clean start deletes domain instances and audit history but preserves
|
|||||||
});
|
});
|
||||||
|
|
||||||
test('F5.1 canonical hierarchy starts at Departamento and Area is no longer root', () => {
|
test('F5.1 canonical hierarchy starts at Departamento and Area is no longer root', () => {
|
||||||
const migration = source('src/database/migrations/1790087300000-f5-1-clean-manual-inventory.ts');
|
const migration = source('src/database/migrations/1790087400000-f5-1-clean-manual-inventory.ts');
|
||||||
const dto = source('src/asset-master/dto/create-inventory-structure.dto.ts');
|
const dto = source('src/asset-master/dto/create-inventory-structure.dto.ts');
|
||||||
const structure = source('src/asset-master/inventory-structure.service.ts');
|
const structure = source('src/asset-master/inventory-structure.service.ts');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user