Skip to content

Commit 6c227a5

Browse files
committed
MAGETWO-91164: Optimize images resizing
1 parent d1ac3da commit 6c227a5

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

dev/tests/integration/testsuite/Magento/Catalog/Console/Command/ImagesResizeCommandTest.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,14 @@ public function setUp()
2626
}
2727

2828
/**
29-
* @magentoApiDataFixture Magento/Catalog/_files/product_with_image.php
29+
* @magentoDataFixture Magento/Catalog/_files/product_with_image.php
3030
* @magentoDbIsolation disabled
3131
*/
3232
public function testExecute()
3333
{
34-
// Execute command
35-
$return = $this->tester->execute([]);
36-
self::assertEquals(0, $return);
34+
$returnStatus = $this->tester->execute([]);
35+
$returnData = $this->tester->getDisplay();
36+
self::assertContains('Product images resized successfully', $returnData);
37+
self::assertEquals(0, $returnStatus);
3738
}
3839
}

0 commit comments

Comments
 (0)