mirror of
https://github.com/strapi/strapi.git
synced 2025-08-10 17:58:07 +00:00
RelationMultiple: Fix tests
This commit is contained in:
parent
f4ccbe2235
commit
ddfaeed2af
@ -23,14 +23,14 @@ jest.spyOn(axiosInstance, 'get').mockResolvedValue({
|
|||||||
});
|
});
|
||||||
|
|
||||||
const DEFAULT_PROPS_FIXTURE = {
|
const DEFAULT_PROPS_FIXTURE = {
|
||||||
|
contentType: {
|
||||||
|
uid: 'api::address.address',
|
||||||
|
},
|
||||||
fieldSchema: {
|
fieldSchema: {
|
||||||
type: 'relation',
|
type: 'relation',
|
||||||
relation: 'manyToMany',
|
relation: 'manyToMany',
|
||||||
target: 'api::category.category',
|
target: 'api::category.category',
|
||||||
},
|
},
|
||||||
queryInfos: {
|
|
||||||
endPoint: 'collection-types/api::address.address',
|
|
||||||
},
|
|
||||||
metadatas: {
|
metadatas: {
|
||||||
mainField: {
|
mainField: {
|
||||||
name: 'name',
|
name: 'name',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user