This repository was archived by the owner on Apr 29, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
Model/SignifydGateway/Request Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ public function testCreateCaseBuilderWithFullSetOfData()
82
82
'purchase ' => [
83
83
'orderSessionId ' => $ signifydOrderSessionId ->get ($ order ->getQuoteId ()),
84
84
'browserIpAddress ' => $ order ->getRemoteIp (),
85
- 'orderId ' => $ order ->getEntityId (),
85
+ 'orderId ' => $ order ->getIncrementId (),
86
86
'createdAt ' => '2016-12-12T12:00:55+00:00 ' ,
87
87
'paymentGateway ' => 'paypal_account ' ,
88
88
'transactionId ' => $ payment ->getLastTransId (),
@@ -193,7 +193,7 @@ public function testCreateCaseBuilderWithVirtualProductAndGuest()
193
193
'purchase ' => [
194
194
'orderSessionId ' => $ quoteSessionId ->get ($ order ->getQuoteId ()),
195
195
'browserIpAddress ' => $ order ->getRemoteIp (),
196
- 'orderId ' => $ order ->getEntityId (),
196
+ 'orderId ' => $ order ->getIncrementId (),
197
197
'createdAt ' => '2016-12-12T12:00:55+00:00 ' ,
198
198
'paymentGateway ' => $ payment ->getMethod (),
199
199
'transactionId ' => $ payment ->getLastTransId (),
Original file line number Diff line number Diff line change 12
12
/** @var CaseInterfaceFactory $caseFactory */
13
13
$ caseFactory = $ objectManager ->get (CaseInterfaceFactory::class);
14
14
15
+ $ associatedTeam = array (
16
+ 'teamName ' => 'Some Team ' ,
17
+ 'teamId ' => 123 ,
18
+ 'getAutoDismiss ' => true ,
19
+ 'getTeamDismissalDays ' => 3
20
+ );
21
+
15
22
/** @var CaseInterface $case */
16
23
$ case = $ caseFactory ->create ();
17
24
$ case ->setCaseId (123 )
20
27
->setStatus (CaseInterface::STATUS_PROCESSING )
21
28
->setScore (553 )
22
29
->setOrderId ($ order ->getEntityId ())
23
- ->setAssociatedTeam (124 )
30
+ ->setAssociatedTeam ($ associatedTeam )
24
31
->setReviewDisposition (CaseInterface::DISPOSITION_GOOD )
25
32
->setCreatedAt ('2016-12-12T15:17:17+0000 ' )
26
33
->setUpdatedAt ('2016-12-12T19:23:16+0000 ' );
You can’t perform that action at this time.
0 commit comments