Skip to content

Commit 49f5ef9

Browse files
committed
ACP2E-964: grand_total and base_grand_total have different values, although we have only ONE currency
- updated after static tests fails
1 parent 7b23a26 commit 49f5ef9

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

dev/tests/api-functional/testsuite/Magento/Quote/Api/CartTotalRepositoryTest.php

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
use Magento\Tax\Test\Fixture\TaxRule as TaxRule;
2323
use Magento\TestFramework\Fixture\DataFixture;
2424
use Magento\TestFramework\Fixture\DataFixtureStorageManager;
25-
use Magento\TestFramework\Fixture\Config;
25+
use Magento\TestFramework\Fixture\Config as Config;
2626
use Magento\TestFramework\ObjectManager;
2727
use Magento\TestFramework\TestCase\WebapiAbstract;
2828
use Magento\Quote\Model\Quote;
@@ -54,6 +54,13 @@ class CartTotalRepositoryTest extends WebapiAbstract
5454
*/
5555
private $fixtures;
5656

57+
/**
58+
* @var Config
59+
*/
60+
private $object;
61+
62+
63+
5764
protected function setUp(): void
5865
{
5966
$this->objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager();
@@ -64,7 +71,7 @@ protected function setUp(): void
6471
\Magento\Framework\Api\FilterBuilder::class
6572
);
6673
$this->fixtures = $this->objectManager->get(DataFixtureStorageManager::class)->getStorage();
67-
$this->_object = $this->createPartialMock(
74+
$this->object = $this->createPartialMock(
6875
Config::class,
6976
['_getConfigValue', '_setConfigValue']
7077
);
@@ -122,7 +129,8 @@ public function testGetTotals()
122129
'product'
123130
),
124131
DataFixture(
125-
GuestCartFixture::class, as: 'cart'
132+
GuestCartFixture::class,
133+
as: 'cart'
126134
),
127135
DataFixture(
128136
AddProductToCartFixture::class,

0 commit comments

Comments
 (0)