Skip to content

Commit a5df8b7

Browse files
committed
MAGETWO-44603: Styles are lost on Storefront if CSS files minification is enabled in "default" mode
- Fixed directory name for static test
1 parent a117c21 commit a5df8b7

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

dev/tests/integration/testsuite/Magento/Developer/Console/Command/SourceThemeDeployCommandTest.php

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
*/
66
namespace Magento\Developer\Console\Command;
77

8-
use Magento\Framework\Validator\Locale;
98
use Magento\TestFramework\Helper\Bootstrap;
109
use Symfony\Component\Console\Input\InputInterface;
1110
use Symfony\Component\Console\Output\OutputInterface;
@@ -17,7 +16,7 @@
1716
*/
1817
class SourceThemeDeployCommandTest extends \PHPUnit_Framework_TestCase
1918
{
20-
const PUB_STATIC_DIRECTORY = 'pub_static';
19+
const PUB_STATIC_DIRECTORY = 'pub/static';
2120

2221
const AREA_TEST_VALUE = 'frontend';
2322

@@ -27,11 +26,6 @@ class SourceThemeDeployCommandTest extends \PHPUnit_Framework_TestCase
2726

2827
const TYPE_TEST_VALUE = 'less';
2928

30-
/**
31-
* @var Locale|\PHPUnit_Framework_MockObject_MockObject
32-
*/
33-
private $validatorMock;
34-
3529
/**
3630
* @var SourceThemeDeployCommand
3731
*/
@@ -54,10 +48,6 @@ protected function setUp()
5448
{
5549
global $installDir;
5650

57-
$this->validatorMock = $this->getMockBuilder(Locale::class)
58-
->disableOriginalConstructor()
59-
->getMock();
60-
6151
$this->pubStatic = $installDir . DIRECTORY_SEPARATOR . self::PUB_STATIC_DIRECTORY;
6252
$this->command = Bootstrap::getObjectManager()->get(SourceThemeDeployCommand::class);
6353
}

0 commit comments

Comments
 (0)