Add userid number to findAllDescendants call
This commit is contained in:
1 parent
e08667927d
commit
1e57851111
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user