QuestionQ20
VerifiedStore Operations and AdminAn Architect needs to create an Integration Test that does the following:
- Adds a product through a data fixture.
- Runs
$this->someLogic->execute($product)on the product. - Verifies that the result is
true.
$this->someLogic has the proper object assigned in the setUp() method.
Product creation and the tested logic must run in the contexts of two distinct store views, with IDs 3 and 4, which have been created and are available for the test. How should the Architect satisfy these requirements?
Community Discussion