Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / drush / drush / tests / ImageTest.php
diff --git a/vendor/drush/drush/tests/ImageTest.php b/vendor/drush/drush/tests/ImageTest.php
deleted file mode 100644 (file)
index bc8f13d..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-
-namespace Unish;
-
-/**
- * Tests image-flush command
- *
- * @group commands
- */
-class ImageCase extends CommandUnishTestCase
-{
-
-    public function testImage()
-    {
-        $this->setUpDrupal(1, true);
-        $this->drush('pm-enable', ['image']);
-        $logo = 'core/themes/bartik/screenshot.png';
-        $styles_dir = $this->webroot() . '/sites/' . $this->getUri() . '/files/styles/';
-        $thumbnail = $styles_dir . 'thumbnail/public/' . $logo;
-        $medium = $styles_dir . 'medium/public/' . $logo;
-
-        // Test that "drush image-derive" works.
-        $style_name = 'thumbnail';
-        $this->drush('image-derive', [$style_name, $logo]);
-        $this->assertFileExists($thumbnail);
-
-        // Test that "drush image-flush thumbnail" deletes derivatives created by the thumbnail image style.
-        $this->drush('image-flush', [$style_name], ['all' => null]);
-        $this->assertFileNotExists($thumbnail);
-
-        // Check that "drush image-flush --all" deletes all image styles by creating two different ones and testing its
-        // existence afterwards.
-        $this->drush('image-derive', ['thumbnail', $logo]);
-        $this->assertFileExists($thumbnail);
-        $this->drush('image-derive', ['medium', $logo]);
-        $this->assertFileExists($medium);
-        $this->drush('image-flush', [], ['all' => null]);
-        $this->assertFileNotExists($thumbnail);
-        $this->assertFileNotExists($medium);
-    }
-}