/** * Test getCreditCardApprovedSpecificDateCSV. */ public function testReportLinkgetCreditCardApprovedSpecificDateCSV() { $iats = new ReportLink(self::$agentCode, self::$password); $time = mktime(0, 0, 0, date('n'), date('j'), date('Y')); $request = array('date' => $iats->getFormattedDate($time), 'customerIPAddress' => ''); $response = $iats->getCreditCardApprovedSpecificDateCSV($request); $this->assertStringStartsWith('Invoice,Date,Agent,Customer Code', $response); }