File tree Expand file tree Collapse file tree 2 files changed +0
-15
lines changed Expand file tree Collapse file tree 2 files changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -397,7 +397,6 @@ public function validate()
397
397
try {
398
398
$ validator = $ this ->getValidatorPool ()->get ('global ' );
399
399
} catch (\Exception $ e ) {
400
- $ this ->logger ->critical ($ e );
401
400
return $ this ;
402
401
}
403
402
Original file line number Diff line number Diff line change @@ -357,18 +357,4 @@ public function testExecuteCommandWithCommandPool()
357
357
358
358
$ adapter ->authorize ($ paymentInfo , 10 );
359
359
}
360
-
361
- public function testValidationExceptionLogged ()
362
- {
363
- $ exception = new \Exception ('We can test exception logging! ' );
364
-
365
- $ this ->validatorPool ->expects (static ::once ())
366
- ->method ('get ' )
367
- ->with ('global ' )
368
- ->willThrowException ($ exception );
369
- $ this ->logger ->expects (static ::once ())
370
- ->method ('critical ' )
371
- ->with ($ exception );
372
- $ this ->adapter ->validate ();
373
- }
374
360
}
You can’t perform that action at this time.
0 commit comments