[Issue] Fixed typo in unit test introduced by accident in e0c61dee13afcd10c03… #37792
Closed
2 of 5 tasks
Labels
Area: Test framework
Component: Test
Component: TestFramework
Issue: Confirmed
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed
Priority: P2
A defect with this priority could have functionality issues which are not to expectations.
Progress: done
Reported on 2.4.x
Indicates original Magento version for the Issue report.
Reproduced on 2.4.x
The issue has been reproduced on latest 2.4-develop branch
Projects
This issue is automatically created based on existing pull request: #37785: Fixed typo in unit test introduced by accident in e0c61de…
…3803e344a22df10631eeb
Description (*)
Accidentally found by running phpstan on level 0 on the entire codebase.
$this->attribute§('getIsUnique')
is not really proper code.It looks like this mistake was accidentally introduced in e0c61de#diff-220a7a1cb2d4bae1236aeeb318f8ae5368fb92017598c1db77fba6754d2cf9fa
I've also marked the test to no longer being skipped, it seems to run without any issues after this fix. I have no idea what is being mentioned in MAGETWO-48956?
Related Pull Requests
Fixed Issues (if relevant)
Manual testing scenarios (*)
vendor/bin/phpunit -c dev/tests/unit/phpunit.xml.dist app/code/Magento/Catalog/Test/Unit/Model/Category/Attribute/Backend/SortbyTest.php
and make sure it doesn't output errorsQuestions or comments
Contribution checklist (*)
The text was updated successfully, but these errors were encountered: