Skip to content

Commit 02eeaa9

Browse files
author
Hwashiang Yu
committed
MC-31357: Customer file uploader update
- Fixed minor setup typo in integration test
1 parent 412c747 commit 02eeaa9

File tree

1 file changed

+1
-2
lines changed
  • dev/tests/integration/testsuite/Magento/Customer/Model/Metadata/Form

1 file changed

+1
-2
lines changed

dev/tests/integration/testsuite/Magento/Customer/Model/Metadata/Form/ImageTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ class ImageTest extends \PHPUnit\Framework\TestCase
5858
public function setUp()
5959
{
6060
$this->objectManager = Bootstrap::getObjectManager();
61-
$this->filesystem = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()
62-
->get(Filesystem::class);
61+
$this->filesystem = $this->objectManager->get(Filesystem::class);
6362
$this->mediaDirectory = $this->filesystem->getDirectoryWrite(DirectoryList::MEDIA);
6463
$this->imageFixtureDir = realpath(__DIR__ . '/../../../_files/image');
6564
$this->expectedFileName = '/m/a/' . $this->fileName;

0 commit comments

Comments
 (0)