Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 73a7c91

Browse files
committed
MAGETWO-62831: Create Guarantee cancel service
- Updated client version builder according to Signifyd API changes
1 parent 8c1508f commit 73a7c91

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

Model/SignifydGateway/Request/CreateCaseBuilderTest.php

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,11 @@ public function testCreateCaseBuilderWithFullSetOfData()
152152
'aggregateOrderDollars' => 150.0
153153
],
154154
'seller' => $this->getSellerData(),
155-
'clientVersion' => [
156-
'platform' => $productMetadata->getName() . ' ' . $productMetadata->getEdition(),
157-
'platformVersion' => $productMetadata->getVersion()
155+
'platformAndClient' => [
156+
'storePlatform' => $productMetadata->getName() . ' ' . $productMetadata->getEdition(),
157+
'storePlatformVersion' => $productMetadata->getVersion(),
158+
'signifydClientApp' => $productMetadata->getName(),
159+
'signifydClientAppVersion' => '1.0'
158160
]
159161
];
160162

@@ -221,9 +223,11 @@ public function testCreateCaseBuilderWithVirtualProductAndGuest()
221223
]
222224
],
223225
'seller' => $this->getSellerData(),
224-
'clientVersion' => [
225-
'platform' => $productMetadata->getName() . ' ' . $productMetadata->getEdition(),
226-
'platformVersion' => $productMetadata->getVersion()
226+
'platformAndClient' => [
227+
'storePlatform' => $productMetadata->getName() . ' ' . $productMetadata->getEdition(),
228+
'storePlatformVersion' => $productMetadata->getVersion(),
229+
'signifydClientApp' => $productMetadata->getName(),
230+
'signifydClientAppVersion' => '1.0'
227231
]
228232
];
229233

0 commit comments

Comments
 (0)