Skip to content
Snippets Groups Projects
Verified Commit 72b6f450 authored by Florian Azizian's avatar Florian Azizian
Browse files

debug TU pdftotext

parent f0c38de5
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@
set -xe
apt-get install -y libpq-dev libxml2-dev libxslt1-dev libpng-dev unoconv \
apt-get install -y libpq-dev libxml2-dev libxslt1-dev libpng-dev unoconv xpdf-utils \
&& docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql \
&& docker-php-ext-configure pdo_pgsql --with-pdo-pgsql \
&& docker-php-ext-install pdo_pgsql pgsql \
......
......@@ -201,7 +201,6 @@ class AttachmentControllerTest extends TestCase
$fullRequest = $request->withQueryParams($aArgs);
$response = $attachmentController->getFileContent($fullRequest, new \Slim\Http\Response(), ['id' => self::$id]);
$response = json_decode((string)$response->getBody(), true);
var_dump($response);
$this->assertSame('txt', $response['originalFormat']);
$this->assertNotEmpty($response['encodedDocument']);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment