From 5be9374bbb08c41f60246bd168efd92ef2a9fe82 Mon Sep 17 00:00:00 2001 From: Raffael Comi Date: Thu, 16 Mar 2017 10:59:47 +0100 Subject: [PATCH] BUGFIX: Required 'ext-exif' again and added zero test case --- Tests/Unit/Domain/Extractor/Converter/NumberConverterTest.php | 4 ++++ composer.json | 1 + 2 files changed, 5 insertions(+) diff --git a/Tests/Unit/Domain/Extractor/Converter/NumberConverterTest.php b/Tests/Unit/Domain/Extractor/Converter/NumberConverterTest.php index b321cfb..e72a33c 100644 --- a/Tests/Unit/Domain/Extractor/Converter/NumberConverterTest.php +++ b/Tests/Unit/Domain/Extractor/Converter/NumberConverterTest.php @@ -30,6 +30,10 @@ public function rationalDataProvider() 'rational' => '-24/10', 'expected' => -2.4, ], + 'zero' => [ + 'rational' => '0/0', + 'expected' => 0.0, + ], 'nonRational' => [ 'rational' => 'twenty-four', 'expected' => 0.0, diff --git a/composer.json b/composer.json index 21f342d..28166b2 100644 --- a/composer.json +++ b/composer.json @@ -4,6 +4,7 @@ "type": "neos-package", "license": "MIT", "require": { + "ext-exif": "*", "neos/flow": "^4.0", "neos/media": "^3.0", "neos/metadata": "^2.0",