You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a Developer, we have different solutions to install Magento and Setup Projects. Currently, if the test fixtures place in the app/code/Module_Name and is installed over composer is not possible to use annotations like Magento_InventoryApi::Test/_files/products.php
Expected behavior (*)
Module annotations like Magento_InventoryApi::Test/_files/products.php works and \Magento\TestFramework\Annotation\DataFixture find the correct path for Integrations Test
Benefits
As a developer, you can use the prefix to use data fixture from the core to test your own plugins and extensions
Additional information
/** * Old Fixture File place in testsuite * @magentoDataFixture Magento/Customer/_files/customer.php * * New Fixture File place in app/code * @magentoDataFixture Magento_InventoryApi::Test/_files/products.php * * @magentoDbIsolation disabled */publicfunction testValidation()
The text was updated successfully, but these errors were encountered:
Hi @larsroettig. Thank you for your report.
To help us process this issue please make sure that you provided the following information:
Summary of the issue
Information on your environment
Steps to reproduce
Expected and actual results
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
@magento-engcom-team give me $VERSION instance
where $VERSION is version tags (starting from 2.2.0+) or develop branches (for example: 2.3-develop).
For more details, please, review the Magento Contributor Assistant documentation.
@larsroettig do you confirm that you was able to reproduce the issue on vanilla Magento instance following steps to reproduce?
Description (*)
As a Developer, we have different solutions to install Magento and Setup Projects. Currently, if the test fixtures place in the app/code/Module_Name and is installed over composer is not possible to use annotations like Magento_InventoryApi::Test/_files/products.php
Expected behavior (*)
Module annotations like Magento_InventoryApi::Test/_files/products.php works and \Magento\TestFramework\Annotation\DataFixture find the correct path for Integrations Test
Benefits
As a developer, you can use the prefix to use data fixture from the core to test your own plugins and extensions
Additional information
The text was updated successfully, but these errors were encountered: