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

Range filter doesn't works with 0 values in admin #7103 #8776

Merged
merged 1 commit into from
Mar 8, 2017
Merged

Range filter doesn't works with 0 values in admin #7103 #8776

merged 1 commit into from
Mar 8, 2017

Conversation

giacmir
Copy link
Member

@giacmir giacmir commented Mar 3, 2017

This fixes issue #7103 and refactors test for the prepare method of \Magento\Ui\Component\Filters\Type\Range class.

The old test wasn't actually checking anything. The test was still "green" even if in the meantime some methods changed name and with invalid data was passed to the dataprovider.

Now the test fails when something is wrong and there are some more data cases added to the dataprovider.

Includes tests refactoring with more data cases.
@okorshenko okorshenko self-assigned this Mar 3, 2017
@okorshenko
Copy link
Contributor

@giacmir thank you for your contribution! Great job

@ishakhsuvarov ishakhsuvarov self-assigned this Mar 3, 2017
@ishakhsuvarov ishakhsuvarov added this to the March 2017 milestone Mar 3, 2017
@magento-team magento-team merged commit 533cd94 into magento:develop Mar 8, 2017
@ishakhsuvarov
Copy link
Contributor

@giacmir Your fix has been delivered to the develop branch. Thank you for contribution!

@giacmir giacmir deleted the rangefilter branch April 3, 2017 09:31
magento-devops-reposync-svc pushed a commit that referenced this pull request Mar 20, 2024
…pment

[Bengals Team] Test Fixes and Automation Tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants