Skip to content

Commit 36f5bcd

Browse files
committed
Merge remote-tracking branch 'origin/MAGETWO-94836' into 2.2-develop-mftf-pr12
2 parents 8021e06 + 0a4f239 commit 36f5bcd

File tree

11 files changed

+34
-17
lines changed

11 files changed

+34
-17
lines changed

app/code/Magento/Backend/Block/Widget/Form/Element/Dependence.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ protected function _toHtml()
139139
}
140140

141141
/**
142-
* Field dependences JSON map generator
142+
* Field dependencies JSON map generator
143143
* @return string
144144
*/
145145
protected function _getDependsJson()

app/code/Magento/Bundle/Pricing/Adjustment/Calculator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ public function calculateBundleAmount($basePriceValue, $bundleProduct, $selectio
281281
* @param float $basePriceValue
282282
* @param Product $bundleProduct
283283
* @param \Magento\Bundle\Pricing\Price\BundleSelectionPrice[] $selectionPriceList
284-
* @param null|bool|string|arrayy $exclude
284+
* @param null|bool|string|array $exclude
285285
* @return \Magento\Framework\Pricing\Amount\AmountInterface
286286
*/
287287
protected function calculateFixedBundleAmount($basePriceValue, $bundleProduct, $selectionPriceList, $exclude)

app/code/Magento/BundleImportExport/Test/Unit/Model/Import/Product/Type/BundleTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ public function testSaveData($skus, $bunch, $allowImport)
242242
'price_type' => 'fixed',
243243
'shipment_type' => '1',
244244
'default_qty' => '1',
245-
'is_defaul' => '1',
245+
'is_default' => '1',
246246
'position' => '1',
247247
'option_id' => '1']
248248
]
@@ -264,7 +264,7 @@ public function testSaveData($skus, $bunch, $allowImport)
264264
'price_type' => 'percent',
265265
'shipment_type' => 0,
266266
'default_qty' => '2',
267-
'is_defaul' => '1',
267+
'is_default' => '1',
268268
'position' => '6',
269269
'option_id' => '6']
270270
]
@@ -324,7 +324,7 @@ public function saveDataProvider()
324324
. 'price_type=fixed,'
325325
. 'shipment_type=separately,'
326326
. 'default_qty=1,'
327-
. 'is_defaul=1,'
327+
. 'is_default=1,'
328328
. 'position=1,'
329329
. 'option_id=1 | name=Bundle2,'
330330
. 'type=dropdown,'
@@ -333,7 +333,7 @@ public function saveDataProvider()
333333
. 'price=10,'
334334
. 'price_type=fixed,'
335335
. 'default_qty=1,'
336-
. 'is_defaul=1,'
336+
. 'is_default=1,'
337337
. 'position=2,'
338338
. 'option_id=2'
339339
],

app/code/Magento/Catalog/view/adminhtml/templates/catalog/product/attribute/set/main.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
// set the root node
8181
this.root = new Ext.tree.TreeNode({
8282
text: 'ROOT',
83-
allowDrug:false,
83+
allowDrag:false,
8484
allowDrop:true,
8585
id:'1'
8686
});

app/code/Magento/Sales/view/adminhtml/templates/order/invoice/create/items.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131
<?php if ($block->canEditQty()): ?>
3232
<tfoot>
3333
<tr>
34-
<td colspan="2">&nbsp;</td>
35-
<td colspan="3"><?= $block->getUpdateButtonHtml() ?></td>
3634
<td colspan="3">&nbsp;</td>
35+
<td><?= $block->getUpdateButtonHtml() ?></td>
36+
<td colspan="4">&nbsp;</td>
3737
</tr>
3838
</tfoot>
3939
<?php endif; ?>

app/code/Magento/SalesRule/Model/ResourceModel/Coupon/Usage.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@ public function loadByCustomerCoupon(\Magento\Framework\DataObject $object, $cus
7474
$select = $connection->select()->from(
7575
$this->getMainTable()
7676
)->where(
77-
'customer_id =:customet_id'
77+
'customer_id =:customer_id'
7878
)->where(
7979
'coupon_id = :coupon_id'
8080
);
81-
$data = $connection->fetchRow($select, [':coupon_id' => $couponId, ':customet_id' => $customerId]);
81+
$data = $connection->fetchRow($select, [':coupon_id' => $couponId, ':customer_id' => $customerId]);
8282
if ($data) {
8383
$object->setData($data);
8484
}

app/code/Magento/Tax/view/base/web/js/price/adjustment.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ define([
6262
},
6363

6464
/**
65-
* Set price taax type.
65+
* Set price tax type.
6666
*
6767
* @param {String} priceType
6868
* @return {Object}

app/code/Magento/Ui/view/base/web/js/lib/knockout/bindings/bootstrap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ define(function (require) {
2626
mageInit: require('./mage-init'),
2727
keyboard: require('./keyboard'),
2828
optgroup: require('./optgroup'),
29-
aferRender: require('./after-render'),
29+
afterRender: require('./after-render'),
3030
autoselect: require('./autoselect'),
3131
datepicker: require('./datepicker'),
3232
outerClick: require('./outer_click'),

app/code/Magento/Ui/view/base/web/js/lib/knockout/extender/bound-nodes.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ define([
109109
wrapper.extend(ko, {
110110

111111
/**
112-
* Extends kncokouts' 'applyBindings'
112+
* Extends knockouts' 'applyBindings'
113113
* to track nodes associated with model.
114114
*
115115
* @param {Function} orig - Original 'applyBindings' method.
@@ -136,7 +136,7 @@ define([
136136
},
137137

138138
/**
139-
* Extends kncokouts' cleanNode
139+
* Extends knockouts' cleanNode
140140
* to track nodes associated with model.
141141
*
142142
* @param {Function} orig - Original 'cleanNode' method.

app/code/Magento/User/Test/Mftf/Data/UserData.xml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
-->
88

99
<entities xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10-
xsi:noNamespaceSchemaLocation="../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/DataGenerator/etc/dataProfileSchema.xsd">
10+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:DataGenerator/etc/dataProfileSchema.xsd">
1111
<entity name="admin" type="user">
1212
<data key="email">admin@magento.com</data>
1313
<data key="password">admin123</data>
@@ -23,4 +23,18 @@
2323
<data key="is_active">true</data>
2424
<data key="current_password">123123q</data>
2525
</entity>
26+
<entity name="Admin3" type="user">
27+
<data key="username" unique="suffix">admin3</data>
28+
<data key="firstname">admin3</data>
29+
<data key="lastname">admin3</data>
30+
<data key="email" unique="prefix">admin3WebUser@example.com</data>
31+
<data key="password">123123q</data>
32+
<data key="password_confirmation">123123q</data>
33+
<data key="interface_local">en_US</data>
34+
<data key="is_active">true</data>
35+
<data key="current_password">123123q</data>
36+
<array key="roles">
37+
<item>1</item>
38+
</array>
39+
</entity>
2640
</entities>

0 commit comments

Comments
 (0)