Skip to content

Commit a354811

Browse files
committed
chore: name fix
1 parent 42cf4ab commit a354811

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/tests/jsonLogic.fixtures.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ export const schemaWithGreaterThanChecksForThreeFields = {
549549
required: ['field_a', 'field_b'],
550550
'x-jsf-logic': {
551551
validations: {
552-
require_c: {
552+
a_bigger_than_b: {
553553
rule: {
554554
and: [{ '>': [{ var: 'field_a' }, { var: 'field_b' }] }],
555555
},
@@ -559,7 +559,7 @@ export const schemaWithGreaterThanChecksForThreeFields = {
559559
{
560560
if: {
561561
validations: {
562-
require_c: {
562+
a_bigger_than_b: {
563563
const: true,
564564
},
565565
},
@@ -592,7 +592,7 @@ export const schemaWithPropertiesCheckAndValidationsInAIf = {
592592
required: ['field_a', 'field_b'],
593593
'x-jsf-logic': {
594594
validations: {
595-
require_c: {
595+
a_bigger_than_b: {
596596
rule: {
597597
and: [{ '>': [{ var: 'field_a' }, { var: 'field_b' }] }],
598598
},
@@ -602,7 +602,7 @@ export const schemaWithPropertiesCheckAndValidationsInAIf = {
602602
{
603603
if: {
604604
validations: {
605-
require_c: {
605+
a_bigger_than_b: {
606606
const: true,
607607
},
608608
},
@@ -646,7 +646,7 @@ export const schemaWithChecksAndThenValidationsOnThen = {
646646
'>': [{ var: 'field_c' }, 200],
647647
},
648648
},
649-
require_c: {
649+
a_bigger_than_b: {
650650
rule: {
651651
and: [{ '>': [{ var: 'field_a' }, { var: 'field_b' }] }],
652652
},
@@ -656,7 +656,7 @@ export const schemaWithChecksAndThenValidationsOnThen = {
656656
{
657657
if: {
658658
validations: {
659-
require_c: {
659+
a_bigger_than_b: {
660660
const: true,
661661
},
662662
},
@@ -695,7 +695,7 @@ export const schemaWithComputedValueChecksInIf = {
695695
required: ['field_a', 'field_b'],
696696
'x-jsf-logic': {
697697
computedValues: {
698-
require_c: {
698+
a_bigger_than_b: {
699699
rule: {
700700
and: [{ '>': [{ var: 'field_a' }, { var: 'field_b' }] }],
701701
},
@@ -705,7 +705,7 @@ export const schemaWithComputedValueChecksInIf = {
705705
{
706706
if: {
707707
computedValues: {
708-
require_c: {
708+
a_bigger_than_b: {
709709
const: true,
710710
},
711711
},

0 commit comments

Comments
 (0)