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.
1 parent b9c9435 commit 6e0c0faCopy full SHA for 6e0c0fa
dev/tests/integration/testsuite/Magento/PageBuilder/Controller/Adminhtml/ContentType/Image/UploadTest.php
@@ -18,9 +18,6 @@
18
use PHPUnit\Framework\MockObject\MockObject;
19
use PHPUnit\Framework\TestCase;
20
21
-/**
22
- * Class UploadTest
23
- */
24
class UploadTest extends TestCase
25
{
26
/**
@@ -119,7 +116,6 @@ public function testFileValidationFailsWhenFileHasCorrectExtensionButInvalidMime
119
116
$this->setFilesGlobalMock($invalid_file_pathname);
120
117
$this->setUploaderMockForField('background_image');
121
118
122
-
123
$this->resultJson->expects($this->once())->method('setData')->willReturnCallback(function ($result) {
124
$this->assertEquals([
125
'error' => 'File validation failed.',
0 commit comments