From 7e01fa026da39324e8d0cd887dc2d3b19320db10 Mon Sep 17 00:00:00 2001 From: Nuryagdy Mustapayev Date: Sun, 19 Nov 2023 18:56:56 +0100 Subject: [PATCH] tests - added @covers tags --- tests/Crypt/EstPosCryptTest.php | 3 +++ tests/Crypt/EstV3PosCryptTest.php | 3 +++ tests/Crypt/GarantiPosCryptTest.php | 6 ++++++ tests/Crypt/InterPosCryptTest.php | 6 ++++++ tests/Crypt/KuveytPosCryptTest.php | 3 +++ tests/Crypt/PayFlexCP4CryptTest.php | 3 +++ tests/Crypt/PayForPosCryptTest.php | 7 ++++++- tests/Crypt/PosNetCryptTest.php | 7 ++++++- tests/Crypt/PosNetV1PosCryptTest.php | 7 ++++++- .../RequestDataMapper/EstPosRequestDataMapperTest.php | 2 +- .../RequestDataMapper/EstV3PosRequestDataMapperTest.php | 3 +++ .../RequestDataMapper/GarantiPosRequestDataMapperTest.php | 2 +- .../RequestDataMapper/InterPosRequestDataMapperTest.php | 2 +- .../RequestDataMapper/KuveytPosRequestDataMapperTest.php | 2 +- .../PayFlexCPV4PosRequestDataMapperTest.php | 2 +- .../PayFlexV4PosRequestDataMapperTest.php | 2 +- .../RequestDataMapper/PayForPosRequestDataMapperTest.php | 2 +- .../RequestDataMapper/PosNetRequestDataMapperTest.php | 2 +- .../RequestDataMapper/PosNetV1PosRequestDataMapperTest.php | 2 +- .../ResponseDataMapper/EstPosResponseDataMapperTest.php | 3 +++ .../GarantiPosResponseDataMapperTest.php | 3 +++ .../ResponseDataMapper/InterPosResponseDataMapperTest.php | 3 +++ .../ResponseDataMapper/KuveytPosResponseDataMapperTest.php | 3 +++ .../PayFlexCPV4PosResponseDataMapperTest.php | 4 +++- .../PayFlexV4PosResponseDataMapperTest.php | 6 ++++++ .../ResponseDataMapper/PayForPosResponseDataMapperTest.php | 6 ++++++ .../ResponseDataMapper/PosNetResponseDataMapperTest.php | 6 ++++++ .../PosNetV1PosResponseDataMapperTest.php | 6 ++++++ tests/Factory/CreditCardFactoryTest.php | 2 +- tests/Gateways/EstPosTest.php | 5 ++--- tests/Gateways/GarantiPosTest.php | 2 +- tests/Gateways/KuveytPosTest.php | 2 +- tests/Gateways/PayFlexCPV4PosTest.php | 3 +++ tests/Gateways/PayFlexV4PosTest.php | 2 +- tests/Gateways/PayForTest.php | 2 +- tests/Gateways/PosNetTest.php | 2 +- tests/Gateways/PosNetV1PosTest.php | 2 +- tests/Serializer/EstPosSerializerTest.php | 3 +++ tests/Serializer/GarantiPosSerializerTest.php | 3 +++ tests/Serializer/InterPosSerializerTest.php | 3 +++ tests/Serializer/KuveytPosSerializerTest.php | 3 +++ tests/Serializer/PayFlexCPV4PosSerializerTest.php | 4 +++- tests/Serializer/PayFlexV4PosSerializerTest.php | 3 +++ tests/Serializer/PayForPosSerializerTest.php | 3 +++ tests/Serializer/PosNetSerializerTest.php | 3 +++ tests/Serializer/PosNetV1PosSerializerTest.php | 3 +++ 46 files changed, 132 insertions(+), 24 deletions(-) diff --git a/tests/Crypt/EstPosCryptTest.php b/tests/Crypt/EstPosCryptTest.php index efeecd5d..b3f1e5b3 100644 --- a/tests/Crypt/EstPosCryptTest.php +++ b/tests/Crypt/EstPosCryptTest.php @@ -9,6 +9,9 @@ use PHPUnit\Framework\TestCase; use Psr\Log\NullLogger; +/** + * @covers \Mews\Pos\Crypt\EstPosCrypt + */ class EstPosCryptTest extends TestCase { private EstPosAccount $account; diff --git a/tests/Crypt/EstV3PosCryptTest.php b/tests/Crypt/EstV3PosCryptTest.php index 57f2539c..d0a7304c 100644 --- a/tests/Crypt/EstV3PosCryptTest.php +++ b/tests/Crypt/EstV3PosCryptTest.php @@ -9,6 +9,9 @@ use PHPUnit\Framework\TestCase; use Psr\Log\NullLogger; +/** + * @covers \Mews\Pos\Crypt\EstV3PosCrypt + */ class EstV3PosCryptTest extends TestCase { private EstPosAccount $account; diff --git a/tests/Crypt/GarantiPosCryptTest.php b/tests/Crypt/GarantiPosCryptTest.php index 34eebfb9..375c6df8 100644 --- a/tests/Crypt/GarantiPosCryptTest.php +++ b/tests/Crypt/GarantiPosCryptTest.php @@ -1,4 +1,7 @@ |array */ diff --git a/tests/Crypt/PayForPosCryptTest.php b/tests/Crypt/PayForPosCryptTest.php index 6abbec9c..cbe71c3e 100644 --- a/tests/Crypt/PayForPosCryptTest.php +++ b/tests/Crypt/PayForPosCryptTest.php @@ -1,5 +1,7 @@ */ private $config; diff --git a/tests/Gateways/GarantiPosTest.php b/tests/Gateways/GarantiPosTest.php index 684f794f..c7772bba 100644 --- a/tests/Gateways/GarantiPosTest.php +++ b/tests/Gateways/GarantiPosTest.php @@ -13,7 +13,7 @@ use Symfony\Component\EventDispatcher\EventDispatcher; /** - * GarantiPosTest + * @covers \Mews\Pos\Gateways\GarantiPos */ class GarantiPosTest extends TestCase { diff --git a/tests/Gateways/KuveytPosTest.php b/tests/Gateways/KuveytPosTest.php index 2e4e74bb..a6e687e3 100644 --- a/tests/Gateways/KuveytPosTest.php +++ b/tests/Gateways/KuveytPosTest.php @@ -29,7 +29,7 @@ use Symfony\Component\HttpFoundation\Request; /** - * KuveytPosTest + * @covers \Mews\Pos\Gateways\KuveytPos */ class KuveytPosTest extends TestCase { diff --git a/tests/Gateways/PayFlexCPV4PosTest.php b/tests/Gateways/PayFlexCPV4PosTest.php index 2e8c0ccd..2bf9d567 100644 --- a/tests/Gateways/PayFlexCPV4PosTest.php +++ b/tests/Gateways/PayFlexCPV4PosTest.php @@ -28,6 +28,9 @@ use Symfony\Component\EventDispatcher\EventDispatcher; use Symfony\Component\HttpFoundation\Request; +/** + * @covers \Mews\Pos\Gateways\PayFlexCPV4Pos + */ class PayFlexCPV4PosTest extends TestCase { private PayFlexAccount $account; diff --git a/tests/Gateways/PayFlexV4PosTest.php b/tests/Gateways/PayFlexV4PosTest.php index 78a19625..bdcdac9d 100644 --- a/tests/Gateways/PayFlexV4PosTest.php +++ b/tests/Gateways/PayFlexV4PosTest.php @@ -25,7 +25,7 @@ use Symfony\Component\EventDispatcher\EventDispatcher; /** - * PayFlexV4PosTest + * @covers \Mews\Pos\Gateways\PayFlexV4Pos */ class PayFlexV4PosTest extends TestCase { diff --git a/tests/Gateways/PayForTest.php b/tests/Gateways/PayForTest.php index bdf37aa9..e03414d8 100644 --- a/tests/Gateways/PayForTest.php +++ b/tests/Gateways/PayForTest.php @@ -13,7 +13,7 @@ use Symfony\Component\EventDispatcher\EventDispatcher; /** - * PayForTest + * @covers \Mews\Pos\Gateways\PayForPos */ class PayForTest extends TestCase { diff --git a/tests/Gateways/PosNetTest.php b/tests/Gateways/PosNetTest.php index 59cf5ee2..44a80403 100644 --- a/tests/Gateways/PosNetTest.php +++ b/tests/Gateways/PosNetTest.php @@ -28,7 +28,7 @@ use Symfony\Component\HttpFoundation\Request; /** - * PosNetTest + * @covers \Mews\Pos\Gateways\PosNet */ class PosNetTest extends TestCase { diff --git a/tests/Gateways/PosNetV1PosTest.php b/tests/Gateways/PosNetV1PosTest.php index 6e8cb859..06cbf924 100644 --- a/tests/Gateways/PosNetV1PosTest.php +++ b/tests/Gateways/PosNetV1PosTest.php @@ -24,7 +24,7 @@ use Symfony\Component\HttpFoundation\Request; /** - * PosNetV1Pos tests + * @covers \Mews\Pos\Gateways\PosNetV1Pos */ class PosNetV1PosTest extends TestCase { diff --git a/tests/Serializer/EstPosSerializerTest.php b/tests/Serializer/EstPosSerializerTest.php index d4f6acd2..06e72b52 100644 --- a/tests/Serializer/EstPosSerializerTest.php +++ b/tests/Serializer/EstPosSerializerTest.php @@ -12,6 +12,9 @@ use Mews\Pos\Serializer\EstPosSerializer; use PHPUnit\Framework\TestCase; +/** + * @covers \Mews\Pos\Serializer\EstPosSerializer + */ class EstPosSerializerTest extends TestCase { private EstPosSerializer $serializer; diff --git a/tests/Serializer/GarantiPosSerializerTest.php b/tests/Serializer/GarantiPosSerializerTest.php index 93d01042..62522468 100644 --- a/tests/Serializer/GarantiPosSerializerTest.php +++ b/tests/Serializer/GarantiPosSerializerTest.php @@ -11,6 +11,9 @@ use Mews\Pos\Serializer\GarantiPosSerializer; use PHPUnit\Framework\TestCase; +/** + * @covers \Mews\Pos\Serializer\GarantiPosSerializer + */ class GarantiPosSerializerTest extends TestCase { private GarantiPosSerializer $serializer; diff --git a/tests/Serializer/InterPosSerializerTest.php b/tests/Serializer/InterPosSerializerTest.php index daf05916..f03115e9 100644 --- a/tests/Serializer/InterPosSerializerTest.php +++ b/tests/Serializer/InterPosSerializerTest.php @@ -9,6 +9,9 @@ use Mews\Pos\Serializer\InterPosSerializer; use PHPUnit\Framework\TestCase; +/** + * @covers \Mews\Pos\Serializer\InterPosSerializer + */ class InterPosSerializerTest extends TestCase { private InterPosSerializer $serializer; diff --git a/tests/Serializer/KuveytPosSerializerTest.php b/tests/Serializer/KuveytPosSerializerTest.php index c4cf89c0..fb1f7e18 100644 --- a/tests/Serializer/KuveytPosSerializerTest.php +++ b/tests/Serializer/KuveytPosSerializerTest.php @@ -14,6 +14,9 @@ use PHPUnit\Framework\TestCase; use function iterator_to_array; +/** + * @covers \Mews\Pos\Serializer\KuveytPosSerializer + */ class KuveytPosSerializerTest extends TestCase { private KuveytPosSerializer $serializer; diff --git a/tests/Serializer/PayFlexCPV4PosSerializerTest.php b/tests/Serializer/PayFlexCPV4PosSerializerTest.php index 80d9ddab..3ad8d7ec 100644 --- a/tests/Serializer/PayFlexCPV4PosSerializerTest.php +++ b/tests/Serializer/PayFlexCPV4PosSerializerTest.php @@ -13,9 +13,11 @@ use Mews\Pos\Serializer\PayFlexCPV4PosSerializer; use PHPUnit\Framework\TestCase; +/** + * @covers \Mews\Pos\Serializer\PayFlexCPV4PosSerializer + */ class PayFlexCPV4PosSerializerTest extends TestCase { - private PayFlexCPV4PosSerializer $serializer; protected function setUp(): void diff --git a/tests/Serializer/PayFlexV4PosSerializerTest.php b/tests/Serializer/PayFlexV4PosSerializerTest.php index 2285d0aa..5f797683 100644 --- a/tests/Serializer/PayFlexV4PosSerializerTest.php +++ b/tests/Serializer/PayFlexV4PosSerializerTest.php @@ -12,6 +12,9 @@ use Mews\Pos\Serializer\PayFlexV4PosSerializer; use PHPUnit\Framework\TestCase; +/** + * @covers \Mews\Pos\Serializer\PayFlexV4PosSerializer + */ class PayFlexV4PosSerializerTest extends TestCase { private PayFlexV4PosSerializer $serializer; diff --git a/tests/Serializer/PayForPosSerializerTest.php b/tests/Serializer/PayForPosSerializerTest.php index c175427b..db89d64b 100644 --- a/tests/Serializer/PayForPosSerializerTest.php +++ b/tests/Serializer/PayForPosSerializerTest.php @@ -11,6 +11,9 @@ use Mews\Pos\Serializer\PayForPosSerializer; use PHPUnit\Framework\TestCase; +/** + * @covers \Mews\Pos\Serializer\PayForPosSerializer + */ class PayForPosSerializerTest extends TestCase { private PayForPosSerializer $serializer; diff --git a/tests/Serializer/PosNetSerializerTest.php b/tests/Serializer/PosNetSerializerTest.php index 156c0032..a4aa3226 100644 --- a/tests/Serializer/PosNetSerializerTest.php +++ b/tests/Serializer/PosNetSerializerTest.php @@ -10,6 +10,9 @@ use Mews\Pos\Serializer\PosNetSerializer; use PHPUnit\Framework\TestCase; +/** + * @covers \Mews\Pos\Serializer\PosNetSerializer + */ class PosNetSerializerTest extends TestCase { private PosNetSerializer $serializer; diff --git a/tests/Serializer/PosNetV1PosSerializerTest.php b/tests/Serializer/PosNetV1PosSerializerTest.php index d427f996..9b1fa1e3 100644 --- a/tests/Serializer/PosNetV1PosSerializerTest.php +++ b/tests/Serializer/PosNetV1PosSerializerTest.php @@ -10,6 +10,9 @@ use Mews\Pos\Serializer\PosNetV1PosSerializer; use PHPUnit\Framework\TestCase; +/** + * @covers \Mews\Pos\Serializer\PosNetV1PosSerializer + */ class PosNetV1PosSerializerTest extends TestCase { private PosNetV1PosSerializer $serializer;