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

Added more PhpUnit tests #4236

Merged
merged 40 commits into from
Oct 29, 2024
Merged

Added more PhpUnit tests #4236

merged 40 commits into from
Oct 29, 2024

Conversation

sreichel
Copy link
Contributor

@sreichel sreichel commented Sep 30, 2024

Description (*)

  • added some tests

Comments

To exclude slow running tests;

phpunit --exclude Base,runInSeparateProcess

@github-actions github-actions bot added environment Component: PayPal Relates to Mage_Paypal Component: Core Relates to Mage_Core Component: Catalog Relates to Mage_Catalog Component: Reports Relates to Mage_Reports Component: Checkout Relates to Mage_Checkout Component: Sales Relates to Mage_Sales Component: Usa Relates to Mage_Usa Component: Eav Relates to Mage_Eav Component: Adminhtml Relates to Mage_Adminhtml Component: Page Relates to Mage_Page Component: Captcha Relates to Mage_Captcha Component: Admin Relates to Mage_Admin Component: Tax Relates to Mage_Tax Component: Bundle Relates to Mage_Bundle Component: Api2 Relates to Mage_Api2 Component: Rss Relates to Mage_Rss composer Relates to composer.json phpstan ddev rector labels Sep 30, 2024
@github-actions github-actions bot added the Component: ImportExport Relates to Mage_ImportExport label Oct 16, 2024
kiatng
kiatng previously approved these changes Oct 16, 2024
# Conflicts:
#	.phpstan.dist.baseline.neon
#	app/code/core/Mage/Catalog/Model/Url.php
@sreichel sreichel marked this pull request as draft October 18, 2024 02:35
@sreichel sreichel marked this pull request as ready for review October 18, 2024 11:16
@sreichel sreichel merged commit 8f2b888 into OpenMage:main Oct 29, 2024
20 checks passed
@sreichel sreichel deleted the phpunit branch October 29, 2024 01:47
fballiano added a commit to MahoCommerce/maho that referenced this pull request Oct 29, 2024
fballiano added a commit to MahoCommerce/maho that referenced this pull request Oct 29, 2024
@fballiano
Copy link
Contributor

this PR should be about unit tests and it's mainly about phpstan, but also, did you notice it introduces 3-4 new errors in phpstan?

@sreichel
Copy link
Contributor Author

sreichel commented Nov 3, 2024

to write the tests, i have to view the files. when phpstan issues can be fixed at the same time ....

yes, i did, fixing one phpstan error can reveal others, but this can become endless story to fix all follow-up errors. Better +5 and -150 for now? They will be fixed later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Admin Relates to Mage_Admin Component: Adminhtml Relates to Mage_Adminhtml Component: Api2 Relates to Mage_Api2 Component: Bundle Relates to Mage_Bundle Component: Captcha Relates to Mage_Captcha Component: Catalog Relates to Mage_Catalog Component: Checkout Relates to Mage_Checkout Component: Core Relates to Mage_Core Component: Eav Relates to Mage_Eav Component: ImportExport Relates to Mage_ImportExport Component: lib/Varien Relates to lib/Varien Component: lib/* Relates to lib/* Component: PayPal Relates to Mage_Paypal Component: Reports Relates to Mage_Reports Component: Sales Relates to Mage_Sales Component: Tax Relates to Mage_Tax ddev environment phpstan rector
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants