Skip to content

Commit

Permalink
fix validator_test (snapshot)
Browse files Browse the repository at this point in the history
  • Loading branch information
Natoandro committed Sep 18, 2024
1 parent ddcc9ad commit ddeec77
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/e2e/typegraph/__snapshots__/validator_test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ snapshot[`typegraph validation 1`] = `
ERROR meta::deploy::actors::console: - at validator:/testEnums/[out]/a: Expected a string, got '12'
ERROR meta::deploy::actors::console: - at validator:/testEnums/[out]/b: Expected float got '"13"'
ERROR meta::deploy::actors::console: - at validator:/testFromParent/[out]/nested/[in]/a: from_parent injection: Type mismatch: integer to string
[31mERROR[0m [2mmeta::deploy::actors::console[0m[2m:[0m - at validator:/testFromParent/[out]/nested/[in]/b: from_parent injection: minimum_length is not defined in the subtype
[31mERROR[0m [2mmeta::deploy::actors::console[0m[2m:[0m - at validator:/testFromParent/[out]/nested/[in]/b: from_parent injection: maximum_length is greater than the maximum_length of the supertype
[31mERROR[0m [2mmeta::deploy::actors::console[0m[2m:[0m - at validator:/testFromParent/[out]/nested/[in]/c: from_parent injection: property b is not defined in the supertype
[31mERROR[0m [2mmeta::deploy::actors::console[0m[2m:[0m - at validator:/testFromParent/[out]/nested/[in]/b: from_parent injection: 'minimum_length' is required on the subtype if it is defined on the supertype
[31mERROR[0m [2mmeta::deploy::actors::console[0m[2m:[0m - at validator:/testFromParent/[out]/nested/[in]/b: from_parent injection: 'maximum_length' cannot be higher on the subtype: 20 > 16
[31mERROR[0m [2mmeta::deploy::actors::console[0m[2m:[0m - at validator:/testFromParent/[out]/nested/[in]/c: from_parent injection: property b is not allowed: it is not defined in the supertype
ERROR meta::deploy::actors::console: - Typegraph validator failed validation
Error:
0: failed
Expand Down

0 comments on commit ddeec77

Please sign in to comment.