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.
2 parents 39d0e09 + ef7a02c commit 8e1cd05Copy full SHA for 8e1cd05
AdobeStockImageAdminUi/Test/Unit/Controller/Adminhtml/Preview/DownloadTest.php
@@ -115,7 +115,7 @@ protected function setUp(): void
115
$this->context->expects($this->once())
116
->method('getResultFactory')
117
->willReturn($this->resultFactory);
118
- $this->saveImage->expects($this->once())->method('execute')->willReturn(null);
+ $this->saveImage->expects($this->once())->method('execute');
119
$this->jsonObject = $this->createMock(Json::class);
120
$this->resultFactory->expects($this->once())->method('create')->with('json')->willReturn($this->jsonObject);
121
0 commit comments