X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=vendor%2Fdrush%2Fdrush%2Ftests%2FContainerTest.php;fp=vendor%2Fdrush%2Fdrush%2Ftests%2FContainerTest.php;h=0000000000000000000000000000000000000000;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hp=b06fb98c8ed98ff997cf7df1eb390122fbe069d2;hpb=74df008bdbb3a11eeea356744f39b802369bda3c;p=yaffs-website diff --git a/vendor/drush/drush/tests/ContainerTest.php b/vendor/drush/drush/tests/ContainerTest.php deleted file mode 100644 index b06fb98c8..000000000 --- a/vendor/drush/drush/tests/ContainerTest.php +++ /dev/null @@ -1,43 +0,0 @@ -setUpDrupal(1, true); - - // Copy the 'woot' module over to the Drupal site we just set up. - $this->setupModulesForTests(['woot'], Path::join(__DIR__, 'resources/modules/d8')); - - // Enable our module. - $this->drush('pm-enable', ['woot']); - - // Set up for a config import with just one small piece. - $this->drush('config-export'); - $this->drush('config-set', ['system.site', 'name', 'config_test']); - - // Trigger the container rebuild we need. - $this->drush('cr'); - - // If the event was registered successfully, then upon a config import, we - // should get the error message. - $this->drush('config-import', [], [], null, null, CommandUnishTestCase::EXIT_ERROR); - $this->assertContains("woot config error", $this->getErrorOutput(), 'Event was successfully registered.'); - } -}