test(f4): align legacy contracts with lifecycle model

This commit is contained in:
2026-09-08 14:39:55 -03:00
parent 7b6460dff2
commit 4df8f40dd4
14 changed files with 73 additions and 87 deletions
@@ -13,9 +13,9 @@ test('D5.3.13 separates company response due dates from verification due dates',
assert.match(source, /verificationOverdue/);
});
test('D5.3.13 exposes a global office queue and controlled finding closure', () => {
test('D5.3.13/F4 exposes the global worklist and controlled finding closure', () => {
assert.match(controller, /@Get\(\)/);
assert.match(controller, /this\.findings\.listGlobal\(query\)/);
assert.match(controller, /this\.worklist\.list\(query\)/);
assert.match(controller, /@Patch\(':id\/close'\)/);
assert.match(source, /finding\.status = InspectionFindingStatus\.CLOSED/);
assert.match(source, /finding\.closureNotes = dto\.closureNotes/);