From 399ce801b9957d61b42884dde031f8bef626e5e9 Mon Sep 17 00:00:00 2001 From: Nuryagdy Mustapayev Date: Sun, 17 Nov 2024 18:35:37 +0100 Subject: [PATCH] examples - fix kuveytpos --- examples/kuveytpos/regular/_config.php | 2 +- tests/Functional/KuveytPosTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/kuveytpos/regular/_config.php b/examples/kuveytpos/regular/_config.php index 62ed2287..7f965924 100644 --- a/examples/kuveytpos/regular/_config.php +++ b/examples/kuveytpos/regular/_config.php @@ -12,7 +12,7 @@ 'apitest', '400235', 'api123', - PosInterface::MODEL_3D_SECURE + PosInterface::MODEL_NON_SECURE ); $pos = getGateway($account, $eventDispatcher); diff --git a/tests/Functional/KuveytPosTest.php b/tests/Functional/KuveytPosTest.php index 3659dbcc..d7e3e89a 100644 --- a/tests/Functional/KuveytPosTest.php +++ b/tests/Functional/KuveytPosTest.php @@ -161,7 +161,7 @@ function (RequestDataPreparedEvent $requestDataPreparedEvent) use (&$eventIsThro $response = $this->pos->getResponse(); - $this->assertTrue($this->pos->isSuccess()); + $this->assertTrue($this->pos->isSuccess(), $response['error_message'] ?? ''); $this->assertIsArray($response); $this->assertNotEmpty($response);