We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1ac3da commit 6c227a5Copy full SHA for 6c227a5
dev/tests/integration/testsuite/Magento/Catalog/Console/Command/ImagesResizeCommandTest.php
@@ -26,13 +26,14 @@ public function setUp()
26
}
27
28
/**
29
- * @magentoApiDataFixture Magento/Catalog/_files/product_with_image.php
+ * @magentoDataFixture Magento/Catalog/_files/product_with_image.php
30
* @magentoDbIsolation disabled
31
*/
32
public function testExecute()
33
{
34
- // Execute command
35
- $return = $this->tester->execute([]);
36
- self::assertEquals(0, $return);
+ $returnStatus = $this->tester->execute([]);
+ $returnData = $this->tester->getDisplay();
+ self::assertContains('Product images resized successfully', $returnData);
37
+ self::assertEquals(0, $returnStatus);
38
39
0 commit comments