forked from magento/magento2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔃 [EngCom] Public Pull Requests - 2.3-develop
Accepted Public Pull Requests: - magento#14183: [Forwardport] Fix product attribute ordering when more than 10 attributes (by @rostyslav-hymon) - magento#14179: [Forwardport] Fix for Issue-13556 - Sorting in Product Listing via Quantity not work (by @dimonovp) - magento#14182: [Forwardport] Fix faulty admin spinner animation (by @dimonovp) - magento#14180: [Forwardport] Act better on existing input focus instead of removing it (by @mastiuhin-olexandr) - magento#14178: [Forwardport] Minicart should require dropdownDialog (by @rostyslav-hymon) - magento#14177: [Forwardport] Default Welcome message is broken on storefront with enabled translate-inline (by @dimonovp) - magento#14174: [Forwardport] Solved this issue : Drop down values are not showing in catalog produ� (by @dimonovp) - magento#14165: [Forwardport 2.3] Added mage/translate component to customers's ajax login (by @ccasciotti) - magento#13885: magento#5463 - Use specified hashing algo in \Magento\Framework\Encryption\Encryptor::getHash (by @k4emic) - magento#14158: Improve Customer GraphQL Model code quality (by @elzekool) Fixed GitHub Issues: - magento#13556: Sorting in Product Listing via Quantity not work (reported by @LordHansolo) has been fixed in magento#14179 by @dimonovp in 2.3-develop branch Related commits: 1. ce6dd85 2. a6dc79a 3. bcb553c 4. 551fa25 - magento#13988: Mini search field looses focus after its JavaScript is initialized (reported by @krzksz) has been fixed in magento#14180 by @mastiuhin-olexandr in 2.3-develop branch Related commits: 1. 2f624a4 - magento#12711: Default Welcome message is broken on storefront with enabled translate-inline (reported by @alena-marchenko) has been fixed in magento#14177 by @dimonovp in 2.3-develop branch Related commits: 1. 4147b53 2. 0610449 3. 5367c47 - magento#13006: Drop down values are not showing in catalog product grid magento2 (reported by @ramusadwika) has been fixed in magento#14174 by @dimonovp in 2.3-develop branch Related commits: 1. 80887ac - magento#5463: The ability to store passwords using different hashing algorithms is limited (reported by @maderlock) has been fixed in magento#13885 by @k4emic in 2.3-develop branch Related commits: 1. d537d56
- Loading branch information
Showing
14 changed files
with
114 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
app/code/Magento/CatalogInventory/Test/Unit/Model/Source/StockTest.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<?php | ||
/** | ||
* Copyright © Magento, Inc. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
|
||
namespace Magento\CatalogInventory\Test\Unit\Model\Source; | ||
|
||
use PHPUnit\Framework\TestCase; | ||
|
||
class StockTest extends TestCase | ||
{ | ||
/** | ||
* @var \Magento\CatalogInventory\Model\Source\Stock | ||
*/ | ||
private $model; | ||
|
||
protected function setUp() | ||
{ | ||
$this->model = new \Magento\CatalogInventory\Model\Source\Stock(); | ||
} | ||
|
||
public function testAddValueSortToCollection() | ||
{ | ||
$selectMock = $this->createMock(\Magento\Framework\DB\Select::class); | ||
$collectionMock = $this->createMock(\Magento\Eav\Model\Entity\Collection\AbstractCollection::class); | ||
$collectionMock->expects($this->atLeastOnce())->method('getSelect')->willReturn($selectMock); | ||
|
||
$selectMock->expects($this->once()) | ||
->method('joinLeft') | ||
->with( | ||
['stock_item_table' => 'cataloginventory_stock_item'], | ||
"e.entity_id=stock_item_table.product_id", | ||
[] | ||
) | ||
->willReturnSelf(); | ||
$selectMock->expects($this->once()) | ||
->method('order') | ||
->with("stock_item_table.qty DESC") | ||
->willReturnSelf(); | ||
|
||
$this->model->addValueSortToCollection($collectionMock); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,4 +26,4 @@ | |
@spinner-rotate-step: 45; | ||
|
||
// One step in degree | ||
@spinner-delay: .9; | ||
@spinner-delay: .9s; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters