chore: deflake postgres and sqlite integration joins test (#9939)

`relationTo` was specified incorrectly which led to 
```
  ● Joins Field › rEST API should not populate individual join by providing schemaPath=false

    error: insert or update on table "collection_restricted" violates foreign key constraint "collection_restricted_category_id_restricted_categories_id_fk"

      18 |       .returning()
      19 |   } else {
    > 20 |     result = await (db as TransactionPg).insert(table).values(values).returning()
```
This commit is contained in:
Sasha
2024-12-12 21:49:32 +02:00
committed by GitHub
parent 5af71fb8d0
commit c298cbc90d

View File

@@ -162,7 +162,7 @@ export default buildConfigWithDefaults({
{ {
name: 'category', name: 'category',
type: 'relationship', type: 'relationship',
relationTo: restrictedCategoriesSlug, relationTo: categoriesJoinRestrictedSlug,
}, },
], ],
}, },