File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,10 @@ public function setUp()
20
20
21
21
$ this ->gateway = new CIMGateway ($ this ->getHttpClient (), $ this ->getHttpRequest ());
22
22
23
+ $ this ->gateway ->initialize ([
24
+ 'hashSecret ' => 'HASHYsecretyThang ' ,
25
+ ]);
26
+
23
27
$ this ->createCardOptions = array (
24
28
'email ' => "kaylee@serenity.com " ,
25
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 ()
66
79
{
67
80
$ this ->setMockHttpResponse (array ('CIMCreateCardSuccess.txt ' ,'CIMGetPaymentProfileSuccess.txt ' ));
You can’t perform that action at this time.
0 commit comments