diff --git a/api/src/category.integration.test.ts b/api/src/category.integration.test.ts index f29c76d..3ada86d 100644 --- a/api/src/category.integration.test.ts +++ b/api/src/category.integration.test.ts @@ -32,7 +32,7 @@ describe('CategoryRepository - Live Database Integration Tests', () => { }); it('should fetch all deep descendants using the <@ ltree operator', async () => { - const results = await repository.findAllDescendants('Top.Science'); + const results = await repository.findAllDescendants('Top.Science', 0); // Should return Science, Astronomy, and Astrophysics (3 nodes) assert.equal(results.length, 3);