Skip to content

Commit 4d267a5

Browse files
author
Stanislav Idolov
authored
ENGCOM-2818: Removed commented code #17346
2 parents 759dd7c + 6448288 commit 4d267a5

File tree

6 files changed

+0
-22
lines changed

6 files changed

+0
-22
lines changed

app/code/Magento/Widget/view/adminhtml/templates/instance/edit/layout.phtml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -304,11 +304,6 @@ var WidgetInstance = {
304304
},
305305
displayPageGroup : function(container, additional) {
306306
container = $(container);
307-
if (!container) {
308-
// if (activePageGroupId = this.activePageGroups.get(container.up('div.page_group_container').id)) {
309-
// this.hideBlockContainer(activePageGroupId);
310-
// }
311-
}
312307
if (!additional) {
313308
additional = {};
314309
}

dev/tests/api-functional/testsuite/Magento/GiftMessage/Api/GuestItemRepositoryTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ public function testSave()
117117
],
118118
];
119119
$this->assertTrue($this->_webApiCall($serviceInfo, $requestData));
120-
// $quote->load('test_order_item_with_message', 'reserved_order_id');
121120
$messageId = $quote->getItemByProduct($product)->getGiftMessageId();
122121
/** @var \Magento\GiftMessage\Model\Message $message */
123122
$message = $this->objectManager->create(\Magento\GiftMessage\Model\Message::class)->load($messageId);

dev/tests/api-functional/testsuite/Magento/GiftMessage/Api/ItemRepositoryTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ public function testSave()
144144
],
145145
];
146146
$this->assertTrue($this->_webApiCall($serviceInfo, $requestData));
147-
// $quote->load('test_order_item_with_message', 'reserved_order_id');
148147
$messageId = $quote->getItemByProduct($product)->getGiftMessageId();
149148
/** @var \Magento\GiftMessage\Model\Message $message */
150149
$message = $this->objectManager->create(\Magento\GiftMessage\Model\Message::class)->load($messageId);
@@ -193,7 +192,6 @@ public function testSaveForMyCart()
193192
],
194193
];
195194
$this->assertTrue($this->_webApiCall($serviceInfo, $requestData));
196-
// $quote->load('test_order_item_with_message', 'reserved_order_id');
197195
$messageId = $quote->getItemByProduct($product)->getGiftMessageId();
198196
/** @var \Magento\GiftMessage\Model\Message $message */
199197
$message = $this->objectManager->create(\Magento\GiftMessage\Model\Message::class)->load($messageId);

dev/tests/api-functional/testsuite/Magento/Sales/Service/V1/CreditmemoCreateTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ public function testInvoke()
3838
$orderCollection = $this->objectManager->get(\Magento\Sales\Model\ResourceModel\Order\Collection::class);
3939
$order = $orderCollection->getFirstItem();
4040

41-
// $order = $this->objectManager->create('Magento\Sales\Model\Order')->loadByIncrementId('100000001');
4241
/** @var \Magento\Sales\Model\Order\Item $orderItem */
4342
$orderItem = current($order->getAllItems());
4443
$items = [

dev/tests/integration/testsuite/Magento/Wishlist/_files/wishlist.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,4 @@
1212
);
1313
$wishlist->loadByCustomerId($customer->getId(), true);
1414
$item = $wishlist->addNewItem($product, new \Magento\Framework\DataObject([]));
15-
// 'product' => '1',
16-
// 'related_product' => '',
17-
// 'options' => array(
18-
// 1 => '1-text',
19-
// 2 => array('month' => 1, 'day' => 1, 'year' => 2001, 'hour' => 1, 'minute' => 1),
20-
// 3 => '1',
21-
// 4 => '1',
22-
// ),
23-
// 'validate_datetime_2' => '',
24-
// 'qty' => '1',
2515
$wishlist->setSharingCode('fixture_unique_code')->save();

lib/internal/Magento/Framework/ObjectManager/Code/Generator/Repository.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,6 @@ protected function _getCollectionFactoryClassName()
156156
protected function _getPersistorClassName()
157157
{
158158
$target = $this->getSourceClassName();
159-
// if (substr($target, -9) == 'Interface') {
160-
// $target = substr($target, 1, strlen($target) -9);
161-
// }
162159
return $target . 'Persistor';
163160
}
164161

0 commit comments

Comments
 (0)