Skip to content

Commit 3fe7477

Browse files
committed
ACP2E-636: Cannot get graphql customer token
1 parent 2ce926b commit 3fe7477

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/Tax/ProductViewTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ private function assertBaseFields($product, $actualResponse)
328328
[
329329
'amount' =>
330330
[
331-
'value ' => 0.573,
331+
'value' => 0.573,
332332
'currency' => 'EUR',
333333
],
334334
'code' => 'TAX',

dev/tests/api-functional/testsuite/Magento/GraphQl/Weee/ProductPriceWithFPTTest.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public function testCatalogPriceExcludeTaxAndIncludeFPTOnly(array $weeTaxSetting
113113

114114
// final price and regular price are the sum of product price and FPT
115115
$this->assertEquals(225.4, $product['price_range']['minimum_price']['regular_price']['value']);
116-
$this->assertEquals(112.7, $product['price_range']['minimum_price']['final_price']['value']);
116+
$this->assertEquals(225.4, $product['price_range']['minimum_price']['final_price']['value']);
117117

118118
$this->assertEquals(112.7, $product['price_range']['maximum_price']['regular_price']['value']);
119119
$this->assertEquals(112.7, $product['price_range']['maximum_price']['final_price']['value']);
@@ -170,7 +170,7 @@ public function testCatalogPriceExcludeTaxAndIncludeFPTWithDescription(array $we
170170

171171
// final price and regular price are the sum of product price and FPT
172172
$this->assertEquals(225.4, $product['price_range']['minimum_price']['regular_price']['value']);
173-
$this->assertEquals(112.7, $product['price_range']['minimum_price']['final_price']['value']);
173+
$this->assertEquals(225.4, $product['price_range']['minimum_price']['final_price']['value']);
174174

175175
$this->assertEquals(112.7, $product['price_range']['maximum_price']['regular_price']['value']);
176176
$this->assertEquals(112.7, $product['price_range']['maximum_price']['final_price']['value']);
@@ -241,7 +241,7 @@ public function testCatalogPriceExcludeTaxCatalogDisplayIncludeTaxAndIncludeFPTO
241241

242242
// final price and regular price are the sum of product price, FPT and product tax
243243
$this->assertEquals(240.4, round($product['price_range']['minimum_price']['regular_price']['value'], 2));
244-
$this->assertEquals(120.2, round($product['price_range']['minimum_price']['final_price']['value'], 2));
244+
$this->assertEquals(240.4, round($product['price_range']['minimum_price']['final_price']['value'], 2));
245245

246246
$this->assertEquals(120.2, round($product['price_range']['maximum_price']['regular_price']['value'], 2));
247247
$this->assertEquals(120.2, round($product['price_range']['maximum_price']['final_price']['value'], 2));
@@ -308,7 +308,7 @@ public function testCatalogPriceExclTaxCatalogDisplayInclTaxAndInclFPTWithDescri
308308
$this->assertNotEmpty($product['price_range']['minimum_price']['fixed_product_taxes']);
309309
// final price and regular price are the sum of product price and FPT
310310
$this->assertEquals(240.4, round($product['price_range']['minimum_price']['regular_price']['value'], 2));
311-
$this->assertEquals(120.2, round($product['price_range']['minimum_price']['final_price']['value'], 2));
311+
$this->assertEquals(240.4, round($product['price_range']['minimum_price']['final_price']['value'], 2));
312312

313313
$this->assertEquals(120.2, round($product['price_range']['maximum_price']['regular_price']['value'], 2));
314314
$this->assertEquals(120.2, round($product['price_range']['maximum_price']['final_price']['value'], 2));
@@ -361,7 +361,7 @@ public function testCatalogPriceInclTaxCatalogDisplayExclTaxAndInclFPTWithDescri
361361

362362
// final price and regular price are the sum of product price and FPT
363363
$this->assertEquals(225.4, $product['price_range']['minimum_price']['regular_price']['value']);
364-
$this->assertEquals(112.7, $product['price_range']['minimum_price']['final_price']['value']);
364+
$this->assertEquals(225.4, $product['price_range']['minimum_price']['final_price']['value']);
365365

366366
$this->assertEquals(112.7, $product['price_range']['maximum_price']['regular_price']['value']);
367367
$this->assertEquals(112.7, $product['price_range']['maximum_price']['final_price']['value']);
@@ -419,7 +419,7 @@ public function testCatalogPriceInclTaxCatalogDisplayInclTaxAndInclFPTOnly(array
419419

420420
// final price and regular price are the sum of product price and FPT
421421
$this->assertEquals(225.4, $product['price_range']['minimum_price']['regular_price']['value']);
422-
$this->assertEquals(112.7, $product['price_range']['minimum_price']['final_price']['value']);
422+
$this->assertEquals(225.4, $product['price_range']['minimum_price']['final_price']['value']);
423423

424424
$this->assertEquals(112.7, $product['price_range']['maximum_price']['regular_price']['value']);
425425
$this->assertEquals(112.7, $product['price_range']['maximum_price']['final_price']['value']);
@@ -493,7 +493,7 @@ public function testCatalogPriceIncTaxCatalogDisplayInclTaxInclFPTWithDescrWithT
493493
$fptWithTax = round(13.65, 2);
494494
// final price and regular price are the sum of product price and FPT
495495
$this->assertEquals(227.31, round($product['price_range']['minimum_price']['regular_price']['value'], 2));
496-
$this->assertEquals(113.65, round($product['price_range']['minimum_price']['final_price']['value'], 2));
496+
$this->assertEquals(227.31, round($product['price_range']['minimum_price']['final_price']['value'], 2));
497497

498498
$this->assertEquals(113.65, round($product['price_range']['maximum_price']['regular_price']['value'], 2));
499499
$this->assertEquals(113.65, round($product['price_range']['maximum_price']['final_price']['value'], 2));

0 commit comments

Comments
 (0)