From 391c440d63616859e78faa073a9eebc96051e748 Mon Sep 17 00:00:00 2001
From: Sergii Kovalenko <skovalenko@magento.com>
Date: Thu, 10 Nov 2016 19:08:31 +0200
Subject: [PATCH] MAGETWO-56989: Deployment process can't be executed on
 separate machine

-move deploy static command
---
 .../Unit/Console/Command/DeployStaticContentCommandTest.php   | 2 +-
 .../Framework/App/Test/Unit/DeploymentConfig/WriterTest.php   | 4 ----
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/app/code/Magento/Deploy/Test/Unit/Console/Command/DeployStaticContentCommandTest.php b/app/code/Magento/Deploy/Test/Unit/Console/Command/DeployStaticContentCommandTest.php
index c8fa2138e7c..6f6f564b5bd 100644
--- a/app/code/Magento/Deploy/Test/Unit/Console/Command/DeployStaticContentCommandTest.php
+++ b/app/code/Magento/Deploy/Test/Unit/Console/Command/DeployStaticContentCommandTest.php
@@ -5,7 +5,7 @@
  */
 namespace Magento\Deploy\Test\Unit\Console\Command;
 
-use Magento\Deploy\Console\Command\DeployStaticContentCommand;
+use Magento\Setup\Console\Command\DeployStaticContentCommand;
 use Symfony\Component\Console\Tester\CommandTester;
 use Magento\Framework\Validator\Locale;
 use Magento\Framework\TestFramework\Unit\Helper\ObjectManager;
diff --git a/lib/internal/Magento/Framework/App/Test/Unit/DeploymentConfig/WriterTest.php b/lib/internal/Magento/Framework/App/Test/Unit/DeploymentConfig/WriterTest.php
index 7d611de8bf6..d4404ce320d 100644
--- a/lib/internal/Magento/Framework/App/Test/Unit/DeploymentConfig/WriterTest.php
+++ b/lib/internal/Magento/Framework/App/Test/Unit/DeploymentConfig/WriterTest.php
@@ -156,8 +156,6 @@ class WriterTest extends \PHPUnit_Framework_TestCase
 
         $testSetExpected = [
             ConfigFilePool::APP_CONFIG => [
-                'foo' => 'bar',
-                'key' => 'value',
                 'baz' => [
                     'test' => 'value2',
                 ]
@@ -167,8 +165,6 @@ class WriterTest extends \PHPUnit_Framework_TestCase
         $this->deploymentConfig->expects($this->once())->method('resetData');
         $this->configFilePool->expects($this->once())->method('getPaths')->willReturn($configFiles);
         $this->dirWrite->expects($this->any())->method('isExist')->willReturn(true);
-        $this->reader->expects($this->once())->method('load')
-            ->willReturn($testSetExisting[ConfigFilePool::APP_CONFIG]);
         $this->formatter
             ->expects($this->once())
             ->method('format')
-- 
GitLab