File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
app/code/Magento/Authorizenet/Test/Unit/Model Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 3
3
* Copyright © Magento, Inc. All rights reserved.
4
4
* See COPYING.txt for license details.
5
5
*/
6
+ declare (strict_types=1 );
6
7
7
8
namespace Magento \Authorizenet \Test \Unit \Model ;
8
9
@@ -306,7 +307,9 @@ public function dataProviderCaptureWithInvalidAmount()
306
307
}
307
308
308
309
/**
309
- * @@expectedException \Magento\Framework\Exception\LocalizedException
310
+ * Test capture has parent transaction id.
311
+ *
312
+ * @expectedException \Magento\Framework\Exception\LocalizedException
310
313
*/
311
314
public function testCaptureHasParentTransactionId ()
312
315
{
@@ -550,13 +553,10 @@ public function checkResponseCodeSuccessDataProvider()
550
553
/**
551
554
* Checks response failures behaviour.
552
555
*
553
- * @param int $responseCode
554
- * @param int $failuresHandlerCalls
555
556
* @return void
556
- *
557
557
* @expectedException \Magento\Framework\Exception\LocalizedException
558
558
*/
559
- public function testCheckResponseCodeFailureDefault (): void
559
+ public function testCheckResponseCodeFailureDefault ()
560
560
{
561
561
$ responseCode = 999999 ;
562
562
$ this ->responseMock ->expects ($ this ->once ())->method ('getXResponseCode ' )->willReturn ($ responseCode );
You can’t perform that action at this time.
0 commit comments