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

Validate params in tests #46

Open
povilasjurcys opened this issue Mar 20, 2019 · 0 comments
Open

Validate params in tests #46

povilasjurcys opened this issue Mar 20, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@povilasjurcys
Copy link
Collaborator

Currently when we test graphql controller we do not validate input type. So test will pass with nil attributes even if schema says that it's not allowed to provide nil value. We need to find a way how to take in to account permitted params in tests

@povilasjurcys povilasjurcys added the enhancement New feature or request label Mar 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant