Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasNx committed Aug 15, 2024
1 parent 5a5bbc3 commit 9d95503
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/resources/validateJsonTestFiles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ DIRECTORY_OF_JSON_TO_VALIDATE="alma-fix/"

for version in "draft"; do
echo "Testing version: $version"
ajv test -s "schemas/resource.json" -r "schemas/!(resource).json" -d "${DIRECTORY_OF_JSON_TO_VALIDATE}/*.json" -c ajv-formats --all-errors --valid 2>&1
ajv test -s "schemas/resource.json" -r "schemas/!(resource).json" -d "${DIRECTORY_OF_JSON_TO_VALIDATE}/*.json" -c ajv-formats --strict=log --all-errors --valid 2>&1
done

if [ $? -eq 0 ]
Expand Down

0 comments on commit 9d95503

Please sign in to comment.