|
| | test_vendorInfo () |
| |
| | test_rdcParms () |
| |
| | test_Deposit ($response, $respHTTP, $respCURL, $examine, $expected, $vendorInfo, $rdcParms) |
| |
| | test_PostItem ($response, $respHTTP, $respCURL, $examine, $expected) |
| |
| | test_EmbCurl ($response, $respHTTP, $respCURL, $examine, $expected) |
| |
|
| DepositProvider () |
| |
|
| PostItemProvider () |
| |
|
| EmbCurlProvider () |
| |
Definition at line 7 of file RDCTranzCapTest.php.
◆ test_Deposit()
| RDCTranzCapTest::test_Deposit |
( |
|
$response, |
|
|
|
$respHTTP, |
|
|
|
$respCURL, |
|
|
|
$examine, |
|
|
|
$expected, |
|
|
|
$vendorInfo, |
|
|
|
$rdcParms |
|
) |
| |
@dataProvider DepositProvider @depends test_vendorInfo @depends test_rdcParms
Definition at line 38 of file RDCTranzCapTest.php.
40 $postItem = Deposit_Responder($response, $respHTTP, $respCURL, $vendorInfo, $rdcParms);
42 $this->assertArraySubset([$examine => $expected], $postItem[
'data'],
false, print_r($postItem,
true));
◆ test_EmbCurl()
| RDCTranzCapTest::test_EmbCurl |
( |
|
$response, |
|
|
|
$respHTTP, |
|
|
|
$respCURL, |
|
|
|
$examine, |
|
|
|
$expected |
|
) |
| |
@dataProvider EmbCurlProvider
Definition at line 61 of file RDCTranzCapTest.php.
63 $embCurl = EmbCurl_Responder($response, $respHTTP, $respCURL);
65 $this->assertArraySubset([$examine => $expected], $embCurl,
false, print_r($embCurl,
true));
◆ test_PostItem()
| RDCTranzCapTest::test_PostItem |
( |
|
$response, |
|
|
|
$respHTTP, |
|
|
|
$respCURL, |
|
|
|
$examine, |
|
|
|
$expected |
|
) |
| |
@dataProvider PostItemProvider
Definition at line 49 of file RDCTranzCapTest.php.
51 $postItem = PostItem_Responder($response, $respHTTP, $respCURL, $vendorInfo);
53 $this->assertArraySubset([$examine => $expected], $postItem[
'data'],
false, print_r($postItem,
true));
◆ test_rdcParms()
| RDCTranzCapTest::test_rdcParms |
( |
| ) |
|
set up the rdcparms content
Definition at line 23 of file RDCTranzCapTest.php.
25 $this->assertTrue(
true);
26 $rdcParms = [
'depositid' => 108015,
27 'acctid' =>
'D|803633|9|0',
◆ test_vendorInfo()
| RDCTranzCapTest::test_vendorInfo |
( |
| ) |
|
set up the vendorinfo content
Definition at line 13 of file RDCTranzCapTest.php.
15 $this->assertTrue(
true);
16 $vendorInfo = json_decode(
'{"Vendortime":1572870689,"userAgent":"Mozilla/5.0 (iPhone; CPU iPhone OS 13_1_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 iPhone iPhone11,8","userIP":"172.56.10.140","accounts":{"D|803633|0|0":{"accounttype":"0","suffix":"803633000","certnumber":"0","acctclass":"D","description":"803633 / Regular Share - 0","tokn":"a7aa649acd1483aa2120ea6a528ef6f919c03ab7","Uid":"2414","trust":"primary","displaydesc":"803633 / Regular Share - 0","rdctype":"2","rdcdesc":"Savings","rdcmember":"803633","ScanLimitAmount":null},"D|803633|9|0":{"accounttype":"9","suffix":"8036330095","certnumber":"0","acctclass":"D","description":"803633 / Share Draft - 9","tokn":"0575e3a57ff283e2f22421f4f8066cfd0d989288","Uid":"2414","trust":"primary","displaydesc":"803633 / Share Draft - 9","rdctype":"1","rdcdesc":"Checking","rdcmember":"803633","ScanLimitAmount":null}},"depmessages":[],"tzToken":"urn:ietf:params:oauth:token-type:jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IkFrRHp6V3ZmV0MwN0RNWE5TdFBBNTFZWFF3OCJ9.eyJpc3MiOiJodHRwczovL2xvZ2luLnRyYW56YWN0Lm9yZyIsImF1ZCI6Imh0dHBzOi8vd3d3LnRyYW56YWN0Lm9yZy8iLCJuYmYiOjE1NzI4NzA2MTAsImV4cCI6MTU3Mjg4NTAxMCwiaHR0cDovL2lkZW50aXR5c2VydmVyLnRoaW5rdGVjdHVyZS5jb20vY2xhaW1zL2NsaWVudCI6Ik1vYmlsZSIsImh0dHA6Ly9pZGVudGl0eXNlcnZlci50aGlua3RlY3R1cmUuY29tL2NsYWltcy9zY29wZSI6Imh0dHBzOi8vd3d3LnRyYW56YWN0Lm9yZy8iLCJodHRwOi8vaWRlbnRpdHlzZXJ2ZXIudGhpbmt0ZWN0dXJlLmNvbS9jbGFpbXMvY2xpZW50aWQiOiIzMyIsInVuaXF1ZV9uYW1lIjoiQ29ycE9uZUhvbWVDVSIsImF1dGhtZXRob2QiOiJPQXV0aDIiLCJhdXRoX3RpbWUiOiIyMDE5LTExLTA0VDEyOjMwOjEwLjE4NFoifQ.I4GaQHX90lRRur_B6o16F6IXwxRQbqSPjNyNV63WFzJKNQ1ZQbffmPn19J4fRvDdybuNU2PxQssz0hbRWeVcwgwdvA0ddHEOvwXZkfpISSW26h3nkqb3P-GN7n6lSaYo012_kudkvFJcwpsw9WbvXgst5T2an9j-6rn36hmVO9W4F8wEMz6WrTcGMaFur-88qfHKn4ZKuyaJbCixbqz4yBSsKgBCr8im5qMiLh4cRRaY6_aPfKyCcILhFj-SC--8Smz4-Zn3rMDfN4OudujR6raZLdXEV_jZ_cubCKxw8gJ96bfmuduWBU2SJ9F2wNsXyeMOQ7iu2jJ6PDG8vn2jUw","tzToken_expires":1572885004,"DepositStatus":"Failed","Message":"You must endorse your check "For Mobile Deposit Only".","DepositTime":"20191104123129"}',
true);
The documentation for this class was generated from the following file: