Skip to content

Commit 90c6235

Browse files
MC-41153: Fix broken builds on 2.3.7-develop
1 parent ec32847 commit 90c6235

File tree

1 file changed

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

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,12 +157,15 @@ public function testProcessCustomerValue()
157157
* Test for processCustomerValue method with invalid value
158158
*
159159
* @magentoAppIsolation enabled
160-
* @expectedException \Magento\Framework\Exception\ValidatorException
161160
* @throws FileSystemException
162161
* @throws \ReflectionException
163162
*/
164163
public function testProcessCustomerInvalidValue()
165164
{
165+
$this->expectException(
166+
\Magento\Framework\Exception\ValidatorException::class
167+
);
168+
166169
$this->mediaDirectory->delete('customer');
167170
$this->mediaDirectory->create($this->mediaDirectory->getRelativePath('customer/tmp/'));
168171
$tmpFilePath = $this->mediaDirectory->getAbsolutePath('customer/tmp/' . $this->fileName);

0 commit comments

Comments
 (0)