Magento 2.3 added app/code/magento modules after 2.3 update (with sample data)
-
07-02-2021 - |
문제
I recently update a site to 2.3 (with sample data enabled) no I find a lot of TestModules in the app/code/magento folder. I have 4 questions regarding these modules:
- Do they come from the 2.3 update or do they come from the sample data?
- Can I remove them?
- Can I git ignore them because they came after composer update?
- Is there a way so they do not get installed with composer?
해결책
- The test modules are a part of UnitTesting (https://phpunit.de/)
- You could as far as i know but i would recommend just ignoring them
- you could git ignore them but the exact command i would need to search
- Same thing as 3
Unit testing is a big part of Magento and you will need them if you ever wanted to do that. I do get you do not want files you might not need and they serve no other purpose other then UnitTesting the code.
다른 팁
These modules are probably created because of unit tests. See the following issue: https://github.com/magento/magento2/issues/12696
제휴하지 않습니다 magento.stackexchange