chore: actually fix validations int test suite
This commit is contained in:
committed by
Jarrod Flesch
parent
eec98c9674
commit
e9f5e593ce
@@ -221,13 +221,17 @@ describe('Field Validations', () => {
|
||||
|
||||
const relationshipOptions = {
|
||||
...options,
|
||||
config: {
|
||||
collections: [relationCollection],
|
||||
},
|
||||
payload: {
|
||||
collections: {
|
||||
relation: {
|
||||
config: relationCollection,
|
||||
req: {
|
||||
...options.req,
|
||||
payload: {
|
||||
...options.req.payload,
|
||||
config: {
|
||||
collections: [relationCollection],
|
||||
},
|
||||
collections: {
|
||||
relation: {
|
||||
config: relationCollection,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user