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

Write (at least one) functional test #10

Open
fprochazka opened this issue Oct 2, 2014 · 4 comments
Open

Write (at least one) functional test #10

fprochazka opened this issue Oct 2, 2014 · 4 comments
Labels

Comments

@fprochazka
Copy link
Member

create some simple object with few properties and methods, with at least two validation context and try to fill it with valid and invalid data for both contexts.

@fprochazka
Copy link
Member Author

After this, we should be able to tag 1.0.

@enumag
Copy link
Member

enumag commented Jan 3, 2016

@fprochazka I'd like to help with this but I'm not quite sure what do you mean by "at least two validation context". I know what validation context is I just don't know how you wish to use them in the test.

@fprochazka
Copy link
Member Author

@enumag some data may be valid for "draft order" and some invalid for "created order". Now that I'm googling it, symfony calls it groups http://symfony.com/doc/current/book/validation.html#validation-groups

@enumag
Copy link
Member

enumag commented Jan 9, 2016

@fprochazka Now that makes sense. :-) I'm already using validation groups. They work great.

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

No branches or pull requests

2 participants