Skip to content

Commit bcca568

Browse files
committed
MC-5723: Flaky MFTF Map Tests - Google Maps Rate Limit Reached
- Resolve static failures
1 parent a11d560 commit bcca568

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

app/code/Magento/PageBuilder/Block/GoogleMapsApi.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
use Magento\Framework\View\Element\Template;
1111

1212
/**
13+
* Google Maps API Block
14+
*
1315
* @api
1416
*/
1517
class GoogleMapsApi extends \Magento\Framework\View\Element\Template

app/code/Magento/PageBuilder/Component/GoogleMapsApiKeyValidationContainer.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
use Magento\PageBuilder\Model\GoogleMaps\ApiKeyValidator;
1515

1616
/**
17+
* Google Maps API Key Validation Container for UI Component Form
18+
*
1719
* @api
1820
*/
1921
class GoogleMapsApiKeyValidationContainer extends \Magento\Ui\Component\Container

app/code/Magento/PageBuilder/Controller/Adminhtml/GoogleMaps/ValidateApi.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@
99

1010
use Magento\Framework\Controller\ResultFactory;
1111

12-
class ValidateApi extends \Magento\Backend\App\Action
12+
/**
13+
* Class ValidateApi
14+
*/
15+
class ValidateApi extends \Magento\Backend\App\Action implements \Magento\Framework\App\Action\HttpPostActionInterface
1316
{
1417
const ADMIN_RESOURCE = 'Magento_Backend::content';
1518

app/code/Magento/PageBuilder/view/base/web/js/utils/map.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ define([
1010
'underscore',
1111
'module',
1212
'Magento_PageBuilder/js/events',
13-
'mage/translate',
1413
'googleMaps'
15-
], function (_, module, events, $t) {
14+
], function (_, module, events) {
1615
'use strict';
1716

1817
var google = window.google || {},

0 commit comments

Comments
 (0)