Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / drush / drush / tests / ContainerTest.php
diff --git a/vendor/drush/drush/tests/ContainerTest.php b/vendor/drush/drush/tests/ContainerTest.php
deleted file mode 100644 (file)
index b06fb98..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-<?php
-
-namespace Unish;
-
-use Webmozart\PathUtil\Path;
-
-/**
- * Tests the Drush override of DrupalKernel.
- *
- * @group base
- *
- * @see https://github.com/drush-ops/drush/issues/3123
- */
-class ContainerTest extends CommandUnishTestCase
-{
-    use TestModuleHelperTrait;
-
-    /**
-     * Tests that the existing container is available while Drush rebuilds it.
-     */
-    public function testContainer()
-    {
-        $this->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.');
-    }
-}