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",