Skip to content

Commit 8b1d769

Browse files
committed
Merge pull request #106 from magento-ogre/develop
[Ogre] Sprint 23 Contribution
2 parents 8e14d42 + d9b9467 commit 8b1d769

File tree

128 files changed

+1606
-323
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

128 files changed

+1606
-323
lines changed

Gruntfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ module.exports = function (grunt) {
3535
tmpSource: 'var/view_preprocessed/source/',
3636
tmp: 'var',
3737
css: {
38-
setup: 'setup/pub/magento/setup/css'
38+
setup: 'setup/pub/styles'
3939
},
4040
less: {
41-
setup: 'setup/module/Magento/Setup/styles'
41+
setup: 'setup/view/styles'
4242
},
4343
uglify: {
4444
legacy: 'lib/web/legacy-build.min.js'

app/code/Magento/CatalogSearch/view/frontend/templates/advanced/link.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ $helper = $this->helper('Magento\CatalogSearch\Helper\Data');
1111
?>
1212
<div class="nested">
1313
<a class="action advanced" href="<?php echo $helper->getAdvancedSearchUrl(); ?>">
14-
<?php echo __('Advanced Search (Modified Again)'); ?>
14+
<?php echo __('Advanced Search'); ?>
1515
</a>
1616
</div>

app/design/frontend/Magento/luma/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"map": [
1818
[
1919
"*",
20-
"Magento/luma"
20+
"frontend/Magento/luma"
2121
]
2222
]
2323
}

app/etc/di.xml

100644100755
File mode changed.

app/etc/vendor_path.php

100644100755
File mode changed.

dev/tests/functional/tests/app/Magento/Install/Test/Block/CustomizeStore.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class CustomizeStore extends Form
2121
*
2222
* @var string
2323
*/
24-
protected $next = "[ng-click*='next']";
24+
protected $next = "[ng-click*='checkModuleConstraints']";
2525

2626
/**
2727
* First field selector

dev/tests/integration/testsuite/Magento/Setup/Model/ObjectManagerFactoryTest.php

Lines changed: 0 additions & 20 deletions
This file was deleted.
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<?php
2+
/**
3+
* Copyright © 2015 Magento. All rights reserved.
4+
* See COPYING.txt for license details.
5+
*/
6+
7+
namespace Magento\Setup\Model;
8+
9+
use Magento\Setup\Mvc\Bootstrap\InitParamListener;
10+
11+
class ObjectManagerProviderTest extends \PHPUnit_Framework_TestCase
12+
{
13+
/**
14+
* @var ObjectManagerProvider
15+
*/
16+
private $object;
17+
18+
/**
19+
* @var \Zend\ServiceManager\ServiceLocatorInterface|\PHPUnit_Framework_MockObject_MockObject
20+
*/
21+
private $locator;
22+
23+
/**
24+
* @var \Magento\Framework\App\DeploymentConfig|\PHPUnit_Framework_MockObject_MockObject
25+
*/
26+
private $deploymentConfig;
27+
28+
protected function setUp()
29+
{
30+
$this->locator = $this->getMockForAbstractClass('Zend\ServiceManager\ServiceLocatorInterface');
31+
$this->deploymentConfig = $this->getMock('Magento\Framework\App\DeploymentConfig', [], [], '', false);
32+
$this->object = new ObjectManagerProvider($this->locator, $this->deploymentConfig);
33+
}
34+
35+
public function testGet()
36+
{
37+
$this->locator->expects($this->once())->method('get')->with(InitParamListener::BOOTSTRAP_PARAM)->willReturn([]);
38+
$objectManager = $this->object->get();
39+
$this->assertInstanceOf('Magento\Framework\ObjectManagerInterface', $objectManager);
40+
$this->assertSame($objectManager, $this->object->get());
41+
}
42+
}

dev/tests/static/testsuite/Magento/Test/Php/_files/phpcpd/blacklist/common.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ Magento/Usps/Model/Carrier
128128
Magento/Dhl/Model
129129
Magento/Shipping/Model
130130
Magento/Ui
131-
setup
132131
Magento/Sales/Service/V1
133132
Magento/Sales/Api
134133
Magento/Sales/Spi

dev/tests/static/testsuite/Magento/Test/Php/_files/whitelist/common.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ dev/tests/integration
77
dev/tests/performance
88
dev/tests/static
99
dev/tests/unit
10+
setup

0 commit comments

Comments
 (0)