mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
fixed closure table wrong order test
This commit is contained in:
parent
0c2cda0779
commit
9de996667d
@ -100,11 +100,14 @@ describe("closure-table", () => {
|
||||
const c12 = new Category();
|
||||
c12.name = "c12";
|
||||
|
||||
c1.childCategories = [c11, c12];
|
||||
c1.childCategories = [c11];
|
||||
|
||||
await categoryRepository.persist(a1);
|
||||
await categoryRepository.persist(b1);
|
||||
await categoryRepository.persist(c1);
|
||||
|
||||
c1.childCategories.push(c12);
|
||||
await categoryRepository.persist(c1);
|
||||
// await categoryRepository.persist(c11);
|
||||
// await categoryRepository.persist(c12);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user