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 8216074 commit ff9dc9dCopy full SHA for ff9dc9d
tests/CIMGatewayTest.php
@@ -20,6 +20,10 @@ public function setUp()
20
21
$this->gateway = new CIMGateway($this->getHttpClient(), $this->getHttpRequest());
22
23
+ $this->gateway->initialize([
24
+ 'hashSecret' => 'HASHYsecretyThang',
25
+ ]);
26
+
27
$this->createCardOptions = array(
28
'email' => "[email protected]",
29
'card' => $this->getValidCard(),
@@ -62,6 +66,15 @@ public function testDeveloperEndpoint()
62
66
);
63
67
}
64
68
69
+ // Added for PR #78
70
+ public function testHashSecret()
71
+ {
72
+ $this->assertEquals(
73
+ 'HASHYsecretyThang',
74
+ $this->gateway->getHashSecret()
75
+ );
76
+ }
77
65
78
public function testCreateCardSuccess()
79
{
80
$this->setMockHttpResponse(array('CIMCreateCardSuccess.txt','CIMGetPaymentProfileSuccess.txt'));
0 commit comments