Skip to content

Commit ef7a02c

Browse files
Merge pull request magento#7 from magento-commerce/fix-unit-test-242
MC-39987 - Fixes ASI unit test local failure
2 parents dd7c94b + 71a802a commit ef7a02c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AdobeStockImageAdminUi/Test/Unit/Controller/Adminhtml/Preview/DownloadTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ protected function setUp(): void
115115
$this->context->expects($this->once())
116116
->method('getResultFactory')
117117
->willReturn($this->resultFactory);
118-
$this->saveImage->expects($this->once())->method('execute')->willReturn(null);
118+
$this->saveImage->expects($this->once())->method('execute');
119119
$this->jsonObject = $this->createMock(Json::class);
120120
$this->resultFactory->expects($this->once())->method('create')->with('json')->willReturn($this->jsonObject);
121121

0 commit comments

Comments
 (0)