Skip to content

Commit 3a818b2

Browse files
author
Aliaksei Yakimovich2
committed
MC-17218: php bin/magento catalog:image:resize error if image is missing
- Fixed integration test;
1 parent 9c86731 commit 3a818b2

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

dev/tests/integration/testsuite/Magento/MediaStorage/Console/Command/ImageResizeCommandTest.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -130,13 +130,6 @@ public function testExecuteWithZeroByteImage()
130130

131131
$this->tester->execute([]);
132132
$this->assertContains('Wrong file', $this->tester->getDisplay());
133-
}
134-
135-
/**
136-
* @inheritDoc
137-
*/
138-
public function tearDown()
139-
{
140133
$this->mediaDirectory->getDriver()->deleteFile($this->mediaDirectory->getAbsolutePath($this->fileName));
141134
}
142135
}

0 commit comments

Comments
 (0)