Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / drush / drush / tests / batchTest.php
diff --git a/vendor/drush/drush/tests/batchTest.php b/vendor/drush/drush/tests/batchTest.php
deleted file mode 100644 (file)
index 3db4d76..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-<?php
-
-namespace Unish;
-
-/**
- * Tests the drush batch subsystem.
- *
- * @see includes/batch.inc
- *
- * @group base
- */
-class batchCase extends CommandUnishTestCase {
-
-  public function testBatch() {
-    $sites = $this->setUpDrupal(1, TRUE);
-    $options = array(
-      'root' => $this->webroot(),
-      'uri' => key($sites),
-      'yes' => NULL,
-      'include' => dirname(__FILE__),
-    );
-    $this->drush('unit-batch', array(), $options);
-    // Collect log messages that begin with "!!!" (@see: _drush_unit_batch_operation())
-    $parsed = $this->parse_backend_output($this->getOutput());
-    $special_log_msgs = '';
-    foreach ($parsed['log'] as $key => $log) {
-      if(substr($log['message'],0,3) == '!!!') {
-        $special_log_msgs .= $log['message'];
-      }
-    }
-    $this->assertEquals("!!! ArrayObject does its job.", $special_log_msgs, 'Batch messages were logged');
-  }
-}