Skip to content

Commit 15e884d

Browse files
committed
Merge remote-tracking branch 'mainline/2.3-develop' into MC-17868
2 parents 8f8d257 + cea3e79 commit 15e884d

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

app/code/Magento/Braintree/view/frontend/requirejs-config.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
var config = {
77
map: {
88
'*': {
9-
braintreeClient: 'https://js.braintreegateway.com/web/3.46.0-beta-3ds.8/js/client.min.js',
10-
braintreeHostedFields: 'https://js.braintreegateway.com/web/3.46.0-beta-3ds.8/js/hosted-fields.min.js',
11-
braintreePayPal: 'https://js.braintreegateway.com/web/3.46.0-beta-3ds.8/js/paypal-checkout.min.js',
12-
braintree3DSecure: 'https://js.braintreegateway.com/web/3.46.0-beta-3ds.8/js/three-d-secure.min.js',
13-
braintreeDataCollector: 'https://js.braintreegateway.com/web/3.46.0-beta-3ds.8/js/data-collector.min.js'
9+
braintreeClient: 'https://js.braintreegateway.com/web/3.48.0/js/client.min.js',
10+
braintreeHostedFields: 'https://js.braintreegateway.com/web/3.48.0/js/hosted-fields.min.js',
11+
braintreePayPal: 'https://js.braintreegateway.com/web/3.48.0/js/paypal-checkout.min.js',
12+
braintree3DSecure: 'https://js.braintreegateway.com/web/3.48.0/js/three-d-secure.min.js',
13+
braintreeDataCollector: 'https://js.braintreegateway.com/web/3.48.0/js/data-collector.min.js'
1414
}
1515
},
1616
paths: {

dev/tests/api-functional/testsuite/Magento/GraphQl/CatalogInventory/AddProductToCartTest.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,17 @@ public function testAddProductIfQuantityIsNotAvailable()
5050
* @magentoApiDataFixture Magento/Catalog/_files/products.php
5151
* @magentoApiDataFixture Magento/Checkout/_files/active_quote.php
5252
* @magentoConfigFixture default_store cataloginventory/item_options/max_sale_qty 5
53-
* @expectedException \Exception
54-
* @expectedExceptionMessage The most you may purchase is 5.
5553
*/
5654
public function testAddMoreProductsThatAllowed()
5755
{
5856
$sku = 'custom-design-simple-product';
5957
$quantity = 7;
6058
$maskedQuoteId = $this->getMaskedQuoteIdByReservedOrderId->execute('test_order_1');
6159

60+
$this->expectExceptionMessageRegExp(
61+
'/The most you may purchase is 5|The requested qty exceeds the maximum qty allowed in shopping cart/'
62+
);
63+
6264
$query = $this->getQuery($maskedQuoteId, $sku, $quantity);
6365
$this->graphQlMutation($query);
6466
}

0 commit comments

Comments
 (0)