Skip to content

Commit 403545d

Browse files
author
Sergii Kovalenko
committed
Merge branch 'MAGETWO-69056' into BUGS
2 parents 5741f88 + e2383ea commit 403545d

File tree

5 files changed

+7
-9
lines changed

5 files changed

+7
-9
lines changed

app/code/Magento/Catalog/Controller/Adminhtml/Category/Save.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,17 +213,14 @@ public function execute()
213213
$category->save();
214214
$this->messageManager->addSuccess(__('You saved the category.'));
215215
} catch (\Magento\Framework\Exception\AlreadyExistsException $e) {
216-
var_dump($e->getMessage());
217216
$this->messageManager->addError($e->getMessage());
218217
$this->_objectManager->get(\Psr\Log\LoggerInterface::class)->critical($e);
219218
$this->_getSession()->setCategoryData($categoryPostData);
220219
} catch (\Magento\Framework\Exception\LocalizedException $e) {
221-
var_dump($e->getMessage());
222220
$this->messageManager->addError($e->getMessage());
223221
$this->_objectManager->get(\Psr\Log\LoggerInterface::class)->critical($e);
224222
$this->_getSession()->setCategoryData($categoryPostData);
225223
} catch (\Exception $e) {
226-
var_dump($e->getMessage());
227224
$this->messageManager->addError(__('Something went wrong while saving the category.'));
228225
$this->_objectManager->get(\Psr\Log\LoggerInterface::class)->critical($e);
229226
$this->_getSession()->setCategoryData($categoryPostData);

dev/tests/functional/tests/app/Magento/CatalogSearch/Test/TestCase/SuggestSearchingResultEntityTest.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,11 @@
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/mtf/etc/variations.xsd">
99
<testCase name="Magento\CatalogSearch\Test\TestCase\SuggestSearchingResultEntityTest" summary="Suggest Searching Results" ticketId="MAGETWO-24671, MAGETWO-23186">
1010
<variation name="SuggestSearchingResultEntityTestVariation1" summary="Auto-complete search with product name" ticketId="MAGETWO-24671">
11-
<data name="tag" xsi:type="string">stable:no</data>
1211
<data name="searchTerm/data/query_text/value" xsi:type="string">catalogProductSimple::name</data>
1312
<data name="searchTerm/data/num_results" xsi:type="string">-</data>
1413
<constraint name="Magento\CatalogSearch\Test\Constraint\AssertSuggestSearchingResult" />
1514
</variation>
1615
<variation name="SuggestSearchingResultEntityTestVariation2" summary="Auto-complete search with product sku" ticketId="MAGETWO-24671">
17-
<data name="tag" xsi:type="string">stable:no</data>
1816
<data name="searchTerm/data/query_text/value" xsi:type="string">catalogProductSimple::sku</data>
1917
<data name="searchTerm/data/num_results" xsi:type="string">1</data>
2018
<constraint name="Magento\CatalogSearch\Test\Constraint\AssertSuggestSearchingResult" />

dev/tests/functional/tests/app/Magento/Customer/Test/Block/Adminhtml/Edit/CustomerForm.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class CustomerForm extends FormTabs
2222
*
2323
* @var string
2424
*/
25-
protected $spinner = '[data-role="spinner"]';
25+
protected $spinner = '#container [data-role="spinner"]';
2626

2727
/**
2828
* Customer form to load.
@@ -46,7 +46,7 @@ class CustomerForm extends FormTabs
4646
protected $fieldWrapperControl = './/*[contains(@class, "admin__field")]/*[contains(@class,"control")]';
4747

4848
/**
49-
* Selector for wainting tab content to load.
49+
* Selector for waiting tab content to load.
5050
*
5151
* @var string
5252
*/
@@ -179,6 +179,8 @@ public function getJsErrors()
179179
*/
180180
public function getPersonalInformation($title)
181181
{
182-
return $this->_rootElement->find(sprintf($this->information, $title), Locator::SELECTOR_XPATH)->getText();
182+
return $this->_rootElement
183+
->find(sprintf($this->information, $title), Locator::SELECTOR_XPATH)
184+
->getText();
183185
}
184186
}

dev/tests/functional/tests/app/Magento/Store/Test/Handler/StoreGroup/Curl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ protected function prepareData(FixtureInterface $fixture)
8484
'root_category_id' => $categoryId,
8585
'website_id' => $websiteId,
8686
'group_id' => $fixture->hasData('group_id') ? $fixture->getGroupId() : '',
87-
'code' => $fixture->getData()['code'],
87+
'code' => $fixture->hasData('code') ? $fixture->getData()['code'] : '',
8888
],
8989
'store_action' => 'add',
9090
'store_type' => 'group',

dev/tests/static/testsuite/Magento/Test/Legacy/_files/obsolete_methods.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2521,4 +2521,5 @@
25212521
['getDataFormTab', 'Magento\Backend\Test\Block\Widget\Tab', 'Magento\Ui\Test\Block\Adminhtml\AbstractContainer::getFieldsData'],
25222522
['getBunchImages', 'Magento\CatalogImportExport\Model\Import\Product'],
25232523
['_isAttributeValueEmpty', 'Magento\Catalog\Model\ResourceModel\AbstractResource'],
2524+
['var_dump', '']
25242525
];

0 commit comments

Comments
 (0)