Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit-tests indirectly referencing SchemaVersion download remote resources #16

Open
sajidraza opened this issue Apr 18, 2015 · 1 comment

Comments

@sajidraza
Copy link

My unit-tests use JsonSchemaFactory which indirectly references SchemaVersion. ShemaVersion downloads remote resources. Is there a way I can disable this behavior so that my unit-tests don't need to download remote resources (or require an internet connection)?

https://github.com/fge/json-schema-core/blob/68edbf9ba307e07d15fee0dfea6dc0d47d9155b8/src/main/java/com/github/fge/jsonschema/SchemaVersion.java#L62

@daveclayton
Copy link
Contributor

Hi @sajidraza looking at version 1.2.6-SNAPSHOT this should be loading from the classpath resources.

Can you provide me with an example showing the issue you describe?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants