Skip to content

Commit

Permalink
Rebase, add final to test classes
Browse files Browse the repository at this point in the history
  • Loading branch information
arti0090 committed Oct 17, 2024
1 parent cfe52e3 commit b738b69
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/Api/Shop/PayingForOrdersByVisaMobileTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
use Tests\CommerceWeavers\SyliusTpayPlugin\Api\Utils\CardEncrypterTrait;
use Tests\CommerceWeavers\SyliusTpayPlugin\Api\Utils\OrderPlacerTrait;

class PayingForOrdersByVisaMobileTest extends JsonApiTestCase
final class PayingForOrdersByVisaMobileTest extends JsonApiTestCase
{
use CardEncrypterTrait;
use OrderPlacerTrait;
Expand Down
4 changes: 3 additions & 1 deletion tests/Unit/Api/Command/PayByVisaMobileHandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
use Webmozart\Assert\InvalidArgumentException;

class PayByVisaMobileHandlerTest extends TestCase
final class PayByVisaMobileHandlerTest extends TestCase
{
use ProphecyTrait;

Expand Down Expand Up @@ -82,6 +82,7 @@ public function test_it_throws_an_exception_if_payment_details_does_not_have_a_s
'transaction_id' => null,
'result' => null,
'status' => null,
'apple_pay_token' => null,
'blik_token' => null,
'google_pay_token' => null,
'card' => null,
Expand Down Expand Up @@ -123,6 +124,7 @@ public function test_it_creates_a_visa_mobile_based_transaction(): void
'result' => null,
'status' => 'pending',
'blik_token' => null,
'apple_pay_token' => null,
'google_pay_token' => null,
'card' => null,
'payment_url' => 'https://cw.org/pay',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
use Prophecy\Prophecy\ObjectProphecy;
use Sylius\Component\Core\Model\PaymentInterface;

class CreateVisaMobileTransactionActionTest extends TestCase
final class CreateVisaMobileTransactionActionTest extends TestCase
{
use ProphecyTrait;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
use Prophecy\Prophecy\ObjectProphecy;
use Sylius\Component\Core\Model\PaymentInterface;

class CreateVisaMobilePaymentPayloadFactoryTest extends TestCase
final class CreateVisaMobilePaymentPayloadFactoryTest extends TestCase
{
use ProphecyTrait;

Expand Down

0 comments on commit b738b69

Please sign in to comment.