chore: fix CI

- adapt tests to new codebase
- improve integration tests by reducing the amount of tasks (to make the tests faster)
This commit is contained in:
Ralph Khreish
2025-10-02 14:53:11 +02:00
parent 7660a29a1a
commit 1d197fe9c2
6 changed files with 23 additions and 22 deletions

View File

@@ -223,7 +223,9 @@ describe('updateTaskById success path with generateObjectService', () => {
objectName: 'task'
});
expect(callArgs.schema).toBeDefined();
expect(callArgs.systemPrompt).toContain('update a software development task');
expect(callArgs.systemPrompt).toContain(
'update a software development task'
);
expect(callArgs.prompt).toContain('Update task with new requirements');
// Verify the returned task contains all expected fields