Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / drush / drush / tests / SiteAliasConvertTest.php
diff --git a/vendor/drush/drush/tests/SiteAliasConvertTest.php b/vendor/drush/drush/tests/SiteAliasConvertTest.php
deleted file mode 100644 (file)
index d060416..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<?php
-
-namespace Unish;
-
-use Symfony\Component\Yaml\Yaml;
-use Webmozart\PathUtil\Path;
-
-/**
- * @group base
- */
-class SiteAliasConvertTest extends CommandUnishTestCase
-{
-
-  /**
-   * Test functionality of site:alias-convert.
-   */
-    public function testSiteAliasConvert()
-    {
-        // Use a custom destination so we don't have to install a Drupal.
-        $destination = Path::join(self::getSandbox(), 'testSiteAliasConvert');
-        $this->drush('site:alias-convert', ['destination' => $destination], ['sources' =>  Path::join(__DIR__, '/resources/alias-fixtures')]);
-
-        // Write config alias-path that specifies our destination.
-        $config['drush']['paths']['alias-path'][] = $destination;
-        file_put_contents(Path::join(self::getSandbox(), 'etc/drush/drush.yml'), Yaml::dump($config, 3));
-
-        $this->drush('site:alias', [], ['format' => 'json']);
-        $json = $this->getOutputFromJSON();
-        $this->assertObjectHasAttribute('@drupalvm.dev', $json);
-        $this->assertObjectHasAttribute('@www-drupalvm.dev', $json);
-        $dev = $json->{'@drupalvm.dev'};
-        $this->assertSame('drupalvm.dev', $dev->host);
-        $this->assertSame('-o PasswordAuthentication=no -i /.vagrant.d/insecure_private_key', $dev->ssh->{'options'});
-        $this->assertSame('/var/www/drupalvm/drupal/vendor/drush/drush/drush', $dev->paths->{'drush-script'});
-    }
-}