X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fdrush%2Fdrush%2Ftests%2FCommandInfoAlterTest.php;fp=vendor%2Fdrush%2Fdrush%2Ftests%2FCommandInfoAlterTest.php;h=0000000000000000000000000000000000000000;hp=afd4b2e9c87d8de4b2d23d0786475ecc5a0aa295;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/vendor/drush/drush/tests/CommandInfoAlterTest.php b/vendor/drush/drush/tests/CommandInfoAlterTest.php deleted file mode 100644 index afd4b2e9c..000000000 --- a/vendor/drush/drush/tests/CommandInfoAlterTest.php +++ /dev/null @@ -1,36 +0,0 @@ -setUpDrupal(1, true); - $this->setupModulesForTests(['woot'], Path::join(__DIR__, 'resources/modules/d8')); - $this->drush('pm-enable', ['woot']); - $this->drush('woot:altered', [], ['help' => true, 'debug' => true]); - $this->assertNotContains('woot-initial-alias', $this->getOutput()); - $this->assertContains('woot-new-alias', $this->getOutput()); - - // Check the debug messages. - $this->assertContains('[debug] Commands are potentially altered in Drupal\woot\WootCommandInfoAlterer.', $this->getErrorOutput()); - $this->assertContains("[debug] Module 'woot' changed the alias of 'woot:altered' command into 'woot-new-alias' in Drupal\woot\WootCommandInfoAlterer::alterCommandInfo().", $this->getErrorOutput()); - - // Try to run the command with the initial alias. - $this->drush('woot-initial-alias', [], [], null, null, self::EXIT_ERROR); - // Run the command with the altered alias. - $this->drush('woot-new-alias'); - } -}