From 56cfa0ba9c91e5a90813fea566a63cce4179574f Mon Sep 17 00:00:00 2001
From: Damien <damien.burel@maarch.org>
Date: Mon, 4 Feb 2019 12:39:23 +0100
Subject: [PATCH] [TESTS] Add php-gd for ci 3

---
 .gitlab-ci.yml                                 | 2 +-
 src/app/resource/controllers/ResController.php | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8e63c8ed0e4..71fa74cf29e 100755
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -88,7 +88,7 @@ job_php-7.0:
   image: php:7.0-apache
   stage: test
   script:
-    - apt-get install php-gd
+    - apt-get install php7.0-gd
     - mkdir -p /opt/maarch/docservers/indexes/{letterbox_coll,attachments_coll,version_attachments_coll}
     - mkdir -p /opt/maarch/docservers/{ai,manual,manual_attachments,templates}
     - mkdir -p /opt/maarch/docservers/{convert_attachments,convert_attachments_version,convert_mlb}
diff --git a/src/app/resource/controllers/ResController.php b/src/app/resource/controllers/ResController.php
index 610087868b4..30ac5bb4cb7 100755
--- a/src/app/resource/controllers/ResController.php
+++ b/src/app/resource/controllers/ResController.php
@@ -720,5 +720,4 @@ class ResController
 
         return $response->withJson(['isAllowed' => true]);
     }
-    
 }
-- 
GitLab