Skip to content

Commit fa4bccb

Browse files
authored
Merge pull request magento#9 from magento-tsg/MC-38546
[Arrows] MC-38546: Warnings in Unit tests build log
2 parents 39d0e09 + ab000d9 commit fa4bccb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ protected function setUp(): void
102102
'isAjax' => 'true',
103103
'media_id' => 283415387,
104104
'destination_path' => '',
105-
'form_key' => 'PyXOATf2fL9Y8iZf'
105+
'form_key' => 'PyXOATf2fL9Y8iZf',
106106
]
107107
);
108108
$this->getAssetById->expects($this->once())
@@ -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)