From 5b0ce806a3679b34ae3a6f8e6ae32a0b513a4ca9 Mon Sep 17 00:00:00 2001 From: Julius Härtl Date: Tue, 5 Jun 2018 16:59:05 +0200 Subject: Minor fixes and cleanup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- apps/theming/tests/ImageManagerTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/theming/tests/ImageManagerTest.php') diff --git a/apps/theming/tests/ImageManagerTest.php b/apps/theming/tests/ImageManagerTest.php index 6912395268e..6bfa5b330a6 100644 --- a/apps/theming/tests/ImageManagerTest.php +++ b/apps/theming/tests/ImageManagerTest.php @@ -66,10 +66,10 @@ class ImageManagerTest extends TestCase { $this->markTestSkipped('Imagemagick is required for dynamic icon generation.'); } $checkImagick = new \Imagick(); - if (count($checkImagick->queryFormats('SVG')) < 1) { + if (empty($checkImagick->queryFormats('SVG'))) { $this->markTestSkipped('No SVG provider present.'); } - if (count($checkImagick->queryFormats('PNG')) < 1) { + if (empty($checkImagick->queryFormats('PNG'))) { $this->markTestSkipped('No PNG provider present.'); } } -- cgit v1.2.3