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

Adds test for getDataUsingMethod using digits #4354

Conversation

fooman
Copy link
Contributor

@fooman fooman commented Apr 29, 2016

Adding a test to document the current behaviour of Magento\Framework\DataObject::_underscore - in particular getDataUsingMethod('key2') exposes the inbuilt assumption from _underscore that any digit is preceded by an underscore.

@fooman
Copy link
Contributor Author

fooman commented Apr 29, 2016

I can't see how the travis failure

PHP Parse error: syntax error, unexpected '.', expecting ',' or ';' in /home/travis/build/magento/magento2/dev/tests/integration/testsuite/Magento/Framework/Search/Adapter/Mysql/AdapterTest.php on line 39

Parse error: syntax error, unexpected '.', expecting ',' or ';' in /home/travis/build/magento/magento2/dev/tests/integration/testsuite/Magento/Framework/Search/Adapter/Mysql/AdapterTest.php on line 39

would be related to the addition of a unit test.

@adragus-inviqa
Copy link
Contributor

@fooman - no one can: #4343

@piotrekkaminski
Copy link
Contributor

@mazhalai do you know what needs to be done? resubmitted based on latest version?

@mazhalai
Copy link
Contributor

mazhalai commented May 13, 2016

@fooman can you sync with develop branch please? It this has been fixed in develop branch already.

@fooman fooman force-pushed the extra-test-documenting-getDataUsingMethod branch from 2eaeb4b to d2d1d19 Compare May 17, 2016 08:48
@fooman
Copy link
Contributor Author

fooman commented May 17, 2016

@mazhalai done

@sshrewz
Copy link

sshrewz commented Aug 9, 2016

Internal ticket created - MAGETWO-56728

@sshrewz sshrewz added the linked label Aug 9, 2016
@mmansoor-magento mmansoor-magento merged commit d2d1d19 into magento:develop Aug 21, 2016
mmansoor-magento pushed a commit that referenced this pull request Aug 21, 2016
…gits #4354

 - Merge branch 'extra-test-documenting-getDataUsingMethod' of https://github.com/fooman/magento2 into fooman-extra-test-documenting-getDataUsingMethod
@vkorotun vkorotun added Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development and removed linked labels Aug 22, 2016
magento-engcom-team pushed a commit that referenced this pull request Jun 14, 2019
[Performance] Introduce CSS critical path and font display swap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Search improvement Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Progress: accept
Projects
None yet
Development

Successfully merging this pull request may close these issues.