Skip to content

Commit f3bba70

Browse files
MC-18826: Increase test coverage for Cart & Checkout and Order Processing functional areas
- Fix annotation for unit test that was created for the ticket MC-6387.
1 parent 169a2ec commit f3bba70

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

app/code/Magento/Authorizenet/Test/Unit/Model/DirectpostTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
declare(strict_types=1);
67

78
namespace Magento\Authorizenet\Test\Unit\Model;
89

@@ -306,7 +307,9 @@ public function dataProviderCaptureWithInvalidAmount()
306307
}
307308

308309
/**
309-
* @@expectedException \Magento\Framework\Exception\LocalizedException
310+
* Test capture has parent transaction id.
311+
*
312+
* @expectedException \Magento\Framework\Exception\LocalizedException
310313
*/
311314
public function testCaptureHasParentTransactionId()
312315
{
@@ -550,13 +553,10 @@ public function checkResponseCodeSuccessDataProvider()
550553
/**
551554
* Checks response failures behaviour.
552555
*
553-
* @param int $responseCode
554-
* @param int $failuresHandlerCalls
555556
* @return void
556-
*
557557
* @expectedException \Magento\Framework\Exception\LocalizedException
558558
*/
559-
public function testCheckResponseCodeFailureDefault(): void
559+
public function testCheckResponseCodeFailureDefault()
560560
{
561561
$responseCode = 999999;
562562
$this->responseMock->expects($this->once())->method('getXResponseCode')->willReturn($responseCode);

0 commit comments

Comments
 (0)