File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
dev/tests/integration/testsuite/Magento/Customer/Model/Metadata/Form Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -157,12 +157,15 @@ public function testProcessCustomerValue()
157
157
* Test for processCustomerValue method with invalid value
158
158
*
159
159
* @magentoAppIsolation enabled
160
- * @expectedException \Magento\Framework\Exception\ValidatorException
161
160
* @throws FileSystemException
162
161
* @throws \ReflectionException
163
162
*/
164
163
public function testProcessCustomerInvalidValue ()
165
164
{
165
+ $ this ->expectException (
166
+ \Magento \Framework \Exception \ValidatorException::class
167
+ );
168
+
166
169
$ this ->mediaDirectory ->delete ('customer ' );
167
170
$ this ->mediaDirectory ->create ($ this ->mediaDirectory ->getRelativePath ('customer/tmp/ ' ));
168
171
$ tmpFilePath = $ this ->mediaDirectory ->getAbsolutePath ('customer/tmp/ ' . $ this ->fileName );
You can’t perform that action at this time.
0 commit comments