Skip to content

Commit

Permalink
chore(schema): adjust test indexes
Browse files Browse the repository at this point in the history
Related to #808
  • Loading branch information
Skaiir committed Dec 12, 2023
1 parent 5e5b0e9 commit d15adb8
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ export const errors = [
message: 'boolean schema is false',
params: {},
schemaPath:
'#/properties/components/items/allOf/1/allOf/17/then/oneOf/0/properties/columnsExpression/false schema',
'#/properties/components/items/allOf/1/allOf/18/then/oneOf/0/properties/columnsExpression/false schema',
},
{
instancePath: '/components/0/columns',
keyword: 'false schema',
message: 'boolean schema is false',
params: {},
schemaPath:
'#/properties/components/items/allOf/1/allOf/17/then/oneOf/1/properties/columns/false schema',
'#/properties/components/items/allOf/1/allOf/18/then/oneOf/1/properties/columns/false schema',
},
{
instancePath: '/components/0',
Expand All @@ -53,7 +53,7 @@ export const errors = [
params: {
passingSchemas: null,
},
schemaPath: '#/properties/components/items/allOf/1/allOf/17/then/oneOf',
schemaPath: '#/properties/components/items/allOf/1/allOf/18/then/oneOf',
},
{
instancePath: '/components/0',
Expand All @@ -62,6 +62,6 @@ export const errors = [
params: {
failingKeyword: 'then',
},
schemaPath: '#/properties/components/items/allOf/1/allOf/17/if',
schemaPath: '#/properties/components/items/allOf/1/allOf/18/if',
},
];
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ export const form = {
export const errors = [
{
instancePath: '/components/0/columns',
schemaPath: '#/properties/components/items/allOf/1/allOf/16/then/properties/columns/false schema',
schemaPath: '#/properties/components/items/allOf/1/allOf/17/then/properties/columns/false schema',
keyword: 'false schema',
params: {},
message: 'boolean schema is false'
},
{
instancePath: '/components/0',
schemaPath: '#/properties/components/items/allOf/1/allOf/16/if',
schemaPath: '#/properties/components/items/allOf/1/allOf/17/if',
keyword: 'if',
params: { failingKeyword: 'then' },
message: 'must match "then" schema'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ export const form = {
export const errors = [
{
instancePath: '/components/0/columnsExpression',
schemaPath: '#/properties/components/items/allOf/1/allOf/16/then/properties/columnsExpression/false schema',
schemaPath: '#/properties/components/items/allOf/1/allOf/17/then/properties/columnsExpression/false schema',
keyword: 'false schema',
params: {},
message: 'boolean schema is false'
},
{
instancePath: '/components/0',
schemaPath: '#/properties/components/items/allOf/1/allOf/16/if',
schemaPath: '#/properties/components/items/allOf/1/allOf/17/if',
keyword: 'if',
params: { failingKeyword: 'then' },
message: 'must match "then" schema'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ export const form = {
export const errors = [
{
instancePath: '/components/0/dataSource',
schemaPath: '#/properties/components/items/allOf/1/allOf/16/then/properties/dataSource/false schema',
schemaPath: '#/properties/components/items/allOf/1/allOf/17/then/properties/dataSource/false schema',
keyword: 'false schema',
params: {},
message: 'boolean schema is false'
},
{
instancePath: '/components/0',
schemaPath: '#/properties/components/items/allOf/1/allOf/16/if',
schemaPath: '#/properties/components/items/allOf/1/allOf/17/if',
keyword: 'if',
params: { failingKeyword: 'then' },
message: 'must match "then" schema'
Expand Down
4 changes: 2 additions & 2 deletions packages/form-json-schema/test/fixtures/key-not-allowed.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ export const form = {
export const errors = [
{
instancePath: '/components/0/key',
schemaPath: '#/properties/components/items/allOf/1/allOf/15/then/properties/key/false schema',
schemaPath: '#/properties/components/items/allOf/1/allOf/16/then/properties/key/false schema',
keyword: 'false schema',
params: {},
message: 'boolean schema is false'
},
{
instancePath: '/components/0',
schemaPath: '#/properties/components/items/allOf/1/allOf/15/if',
schemaPath: '#/properties/components/items/allOf/1/allOf/16/if',
keyword: 'if',
params: { failingKeyword: 'then' },
message: 'must match "then" schema'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ export const form = {
export const errors = [
{
instancePath: '/components/0/rowCount',
schemaPath: '#/properties/components/items/allOf/1/allOf/16/then/properties/rowCount/false schema',
schemaPath: '#/properties/components/items/allOf/1/allOf/17/then/properties/rowCount/false schema',
keyword: 'false schema',
params: {},
message: 'boolean schema is false'
},
{
instancePath: '/components/0',
schemaPath: '#/properties/components/items/allOf/1/allOf/16/if',
schemaPath: '#/properties/components/items/allOf/1/allOf/17/if',
keyword: 'if',
params: { failingKeyword: 'then' },
message: 'must match "then" schema'
Expand Down

0 comments on commit d15adb8

Please sign in to comment.