Skip to content

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