예제 #1
0
 /**
  * Test getACHEFTBankReconciliationReportCSV.
  */
 public function testReportLinkgetACHEFTBankReconciliationReportCSV()
 {
     $iats = new ReportLink(self::$agentCode, self::$password);
     $fromTime = mktime(0, 0, 0, date('n'), date('j'), date('Y'));
     $toTime = mktime(23, 59, 59, date('n'), date('j'), date('Y'));
     $request = array('fromDate' => $iats->getFormattedDate($fromTime), 'toDate' => $iats->getFormattedDate($toTime), 'currency' => 'USD', 'summaryOnly' => FALSE, 'customerIPAddress' => '');
     $response = $iats->getACHEFTBankReconciliationReportCSV($request);
     // Test server doesn't provide access to bank balance data, so
     // a successful request is made without returning report data.
     $this->assertEquals('', $response);
 }