From e8ece53a794d4cddbc84e4e5a62985f24074d4c8 Mon Sep 17 00:00:00 2001 From: Hugues Peccatte Date: Sat, 12 Sep 2015 23:01:06 +0200 Subject: [PATCH] Fix GIS unit test. Signed-off-by: Hugues Peccatte --- test/classes/gis/PMA_GIS_Geometrycollection_test.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/classes/gis/PMA_GIS_Geometrycollection_test.php b/test/classes/gis/PMA_GIS_Geometrycollection_test.php index 3836cbb024..c6c647d498 100644 --- a/test/classes/gis/PMA_GIS_Geometrycollection_test.php +++ b/test/classes/gis/PMA_GIS_Geometrycollection_test.php @@ -8,6 +8,8 @@ */ use PMA\libraries\gis\GISGeometrycollection; +require_once 'libraries/tcpdf/tcpdf.php'; + /** * Tests for PMA\libraries\gis\GISGeometrycollection class * @@ -264,7 +266,7 @@ class PMA_GIS_GeometryCollectionTest extends PHPUnit_Framework_TestCase 'scale' => 2, 'height' => 150 ), - new TCPDF(), + new \TCPDF(), ) ); }