Skip to content

Commit f913a6a

Browse files
author
olysenko
committed
MAGETWO-63737: [FT] Analytics Subscription Tests are failing on CI
1 parent e7447af commit f913a6a

File tree

1 file changed

+3
-5
lines changed
  • dev/tests/functional/tests/app/Magento/Backend/Test/Block/System/Config

1 file changed

+3
-5
lines changed

dev/tests/functional/tests/app/Magento/Backend/Test/Block/System/Config/Form.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public function save()
117117
* @param string $tabName
118118
* @return string
119119
*/
120-
private function getTabUrl($tabName)
120+
private function getTabUrl($tabName)
121121
{
122122
$tabIndex = 'index/section/' . $tabName;
123123
if (strpos($this->baseUrl, '/key/') !== false) {
@@ -126,11 +126,9 @@ private function getTabUrl($tabName)
126126
* or somewhere else in url additionally.
127127
*/
128128
$tabUrl = str_replace('/index/', '/' . $tabIndex . '/', $this->baseUrl);
129-
}
130-
elseif (strpos($this->baseUrl, '/edit/') !== false) {
129+
} elseif (strpos($this->baseUrl, '/edit/') !== false) {
131130
$tabUrl = str_replace('/edit/', '/' . $tabIndex . '/', $this->baseUrl);
132-
}
133-
else {
131+
} else {
134132
$tabUrl = $this->baseUrl . $tabIndex;
135133
}
136134

0 commit comments

Comments
 (0)