X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fdrush%2Fdrush%2Ftests%2FbatchTest.php;fp=vendor%2Fdrush%2Fdrush%2Ftests%2FbatchTest.php;h=0000000000000000000000000000000000000000;hp=3db4d768f1ab063b88822bf97f6d707ab974fc62;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/vendor/drush/drush/tests/batchTest.php b/vendor/drush/drush/tests/batchTest.php deleted file mode 100644 index 3db4d768f..000000000 --- a/vendor/drush/drush/tests/batchTest.php +++ /dev/null @@ -1,33 +0,0 @@ -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'); - } -}