ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 38 - AD0-E722 discussion

Report
Export

An Adobe Commerce Architect designs and implements functionality that introduces a new Complex Product Type to the existing Adobe Commerce website. Besides visual demonstration of the new product type, the changes include adjustments to the price index.

The website utilizes a multi-dimensional indexer feature to store the price index. The Architect decides to cover it with integration tests. After creating and running one test, the Architect discovers that database storage is not being fully cleaned.

The test method has the following annotation declaration:

Which adjustment should the Architect make to fix this issue?

A.
Add annotation @magentoApplsolation enabled to method PHPDoc
Answers
A.
Add annotation @magentoApplsolation enabled to method PHPDoc
B.
Modify method PHPDoc and change annotation @magentoDbIsolation to enabled
Answers
B.
Modify method PHPDoc and change annotation @magentoDbIsolation to enabled
C.
Create Customer_ProductType: :Test/_files/{fixture_name)_rollback.php for every fixture
Answers
C.
Create Customer_ProductType: :Test/_files/{fixture_name)_rollback.php for every fixture
Suggested answer: B

Explanation:

The issue here is that the database storage is not being fully cleaned after the test is run. The solution is to modify the method PHPDoc and change the annotation @magentoDbIsolation to enabled.This will ensure that the database storage is fully cleaned after the test is run.Reference: https://developer.adobe.com/commerce/testing/guide/integration/#database-isolation1

asked 02/10/2024
Crystal Eagle
31 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first