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()
2020
2121 $ this ->gateway = new CIMGateway ($ this ->getHttpClient (), $ this ->getHttpRequest ());
2222
23+ $ this ->gateway ->initialize ([
24+ 'hashSecret ' => 'HASHYsecretyThang ' ,
25+ ]);
26+
2327 $ this ->createCardOptions = array (
2428 'email ' => "kaylee@serenity.com " ,
2529 'card ' => $ this ->getValidCard (),
@@ -62,6 +66,15 @@ public function testDeveloperEndpoint()
6266 );
6367 }
6468
69+ // Added for PR #78
70+ public function testHashSecret ()
71+ {
72+ $ this ->assertEquals (
73+ 'HASHYsecretyThang ' ,
74+ $ this ->gateway ->getHashSecret ()
75+ );
76+ }
77+
6578 public function testCreateCardSuccess ()
6679 {
6780 $ this ->setMockHttpResponse (array ('CIMCreateCardSuccess.txt ' ,'CIMGetPaymentProfileSuccess.txt ' ));
You can’t perform that action at this time.
0 commit comments