From e7f8361edbd3c5d60cc679287b050c0fa3bc9d28 Mon Sep 17 00:00:00 2001 From: mustapayev Date: Sat, 2 Nov 2024 12:27:06 +0100 Subject: [PATCH] tests - remove unnecessary code --- .../ResponseDataMapper/PayFlexV4PosResponseDataMapperTest.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/Unit/DataMapper/ResponseDataMapper/PayFlexV4PosResponseDataMapperTest.php b/tests/Unit/DataMapper/ResponseDataMapper/PayFlexV4PosResponseDataMapperTest.php index fab784b2..942c2827 100644 --- a/tests/Unit/DataMapper/ResponseDataMapper/PayFlexV4PosResponseDataMapperTest.php +++ b/tests/Unit/DataMapper/ResponseDataMapper/PayFlexV4PosResponseDataMapperTest.php @@ -154,10 +154,6 @@ public function testMapRefundResponse(array $paymentResponse, array $expectedDat public function testMapStatusResponse(array $responseData, array $expectedData): void { $actualData = $this->responseDataMapper->mapStatusResponse($responseData); - $this->assertEquals($expectedData['refund_time'], $actualData['refund_time']); - $this->assertEquals($expectedData['cancel_time'], $actualData['cancel_time']); - unset($actualData['refund_time'], $expectedData['refund_time']); - unset($actualData['cancel_time'], $expectedData['cancel_time']); $this->assertArrayHasKey('all', $actualData); $this->assertIsArray($actualData['all']);