We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66d7b4a commit a41d069Copy full SHA for a41d069
tests/Message/AIMAuthorizeRequestTest.php
@@ -68,6 +68,17 @@ public function testGetDataTestMode()
68
$this->assertEquals('true', $setting->settingValue);
69
}
70
71
+ public function testGetDataOpaqueData()
72
+ {
73
+ $this->request->setOpaqueDataDescriptor('COMMON.ACCEPT.INAPP.PAYMENT');
74
+ $this->request->setOpaqueDataValue('jb2RlIjoiNTB');
75
+
76
+ $data = $this->request->getData();
77
78
+ $this->assertEquals('COMMON.ACCEPT.INAPP.PAYMENT', $data->transactionRequest->payment->opaqueData->dataDescriptor);
79
+ $this->assertEquals('jb2RlIjoiNTB', $data->transactionRequest->payment->opaqueData->dataValue);
80
+ }
81
82
public function testShouldIncludeDuplicateWindowSetting()
83
{
84
$data = $this->request->getData();
0 commit comments