Verified Commit f4447508 authored by Damien's avatar Damien

FEAT #9104 Export Pdf

parent 50a80c98
......@@ -25,7 +25,6 @@ use Note\models\NoteModel;
use Priority\models\PriorityModel;
use Resource\models\ResModel;
use Resource\models\ResourceContactModel;
use Resource\models\ResourceListModel;
use Respect\Validation\Validator;
use setasign\Fpdi\Tcpdf\Fpdi;
use Slim\Http\Request;
......
......@@ -22,11 +22,9 @@ class ExportControllerTest extends TestCase
$response = $exportController->getExportTemplates($request, new \Slim\Http\Response());
$responseBody = json_decode((string)$response->getBody());
$this->assertInternalType('array', $responseBody->templates);
$this->assertInternalType('array', $responseBody->templates->pdf);
$this->assertInternalType('array', $responseBody->templates->pdf->data);
$this->assertInternalType('array', $responseBody->templates->csv);
$this->assertInternalType('array', $responseBody->templates->csv->data);
$this->assertNotEmpty($responseBody->templates);
$this->assertNotEmpty($responseBody->templates->pdf);
$this->assertNotEmpty($responseBody->templates->csv);
}
// public function testUpdateExport()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment