Skip to content

Commit 438ca9d

Browse files
author
Bogdan Plieshka
committed
MAGETWO-32250: Header
- Fixed static and integration tests
1 parent b8964bb commit 438ca9d

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

app/code/Magento/Backend/view/adminhtml/templates/admin/login_buttons.phtml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
*/
66
?>
77
<div class="actions">
8-
<button <?php $block->getUiId(); ?> class="action-login action-primary" title="<?php echo __('Log in')?>" type="submit">
8+
<button
9+
<?php $block->getUiId(); ?>
10+
class="action-login action-primary"
11+
title="<?php echo __('Log in')?>" type="submit">
912
<span><?php echo __('Sign in')?></span>
1013
</button>
1114
</div>

app/code/Magento/Backend/view/adminhtml/templates/page/header.phtml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
href="<?php echo $block->getHomeLink() ?>"
1717
<?php echo $edition; ?>
1818
class="logo"
19-
title="<?php echo $this->escapeHtml(__('Magento Admin Panel')) ?>">
19+
title="<?php echo $block->escapeHtml(__('Magento Admin Panel')) ?>">
2020
<img class="logo-img" src="<?php echo $block->getViewFileUrl($logoSrc) ?>" alt="<?php echo __('Magento Admin Panel') ?>"/>
2121
</a>
2222
<?php break; ?>
@@ -25,7 +25,7 @@
2525
<a
2626
href="<?php echo $block->getUrl('adminhtml/system_account/index') ?>"
2727
class="admin-user-account"
28-
title="<?php echo $this->escapeHtml(__('My Account')) ?>"
28+
title="<?php echo $block->escapeHtml(__('My Account')) ?>"
2929
data-mage-init='{"dropdown":{}}'
3030
data-toggle="dropdown">
3131
<span class="admin-user-account-text-wrapper">
@@ -38,15 +38,15 @@
3838
<a
3939
href="<?php echo $block->getUrl('adminhtml/system_account/index') ?>"
4040
<?php echo $block->getUiId('user', 'account', 'settings')?>
41-
title="<?php echo $this->escapeHtml(__('Account Setting')) ?>">
41+
title="<?php echo $block->escapeHtml(__('Account Setting')) ?>">
4242
<?php echo __('Account Setting') ?> (<span class="admin-user-name"><?php echo $block->escapeHtml($block->getUser()->getUsername()); ?></span>)
4343
</a>
4444
</li>
4545
<?php endif; ?>
4646
<li>
4747
<a
4848
href="<?php echo $block->getBaseUrl(); ?>"
49-
title="<?php echo $this->escapeHtml(__('Customer View')); ?>"
49+
title="<?php echo $block->escapeHtml(__('Customer View')); ?>"
5050
target="_blank" class="store-front">
5151
<?php echo __('Customer View'); ?>
5252
</a>
@@ -55,7 +55,7 @@
5555
<a
5656
href="<?php echo $block->getLogoutLink() ?>"
5757
class="account-signout"
58-
title="<?php echo $this->escapeHtml(__('Sign Out')) ?>">
58+
title="<?php echo $block->escapeHtml(__('Sign Out')) ?>">
5959
<?php echo __('Sign Out') ?>
6060
</a>
6161
</li>

app/code/Magento/Email/composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
"magento/module-store": "0.42.0-beta10",
99
"magento/module-cms": "0.42.0-beta10",
1010
"magento/module-backend": "0.42.0-beta10",
11-
"magento/module-theme": "0.42.0-beta10",
1211
"magento/module-variable": "0.42.0-beta10",
1312
"magento/framework": "0.42.0-beta10",
1413
"magento/magento-composer-installer": "*"

app/code/Magento/User/composer.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77
"magento/module-authorization": "0.42.0-beta10",
88
"magento/module-backend": "0.42.0-beta10",
99
"magento/module-integration": "0.42.0-beta10",
10-
"magento/module-theme": "0.42.0-beta10",
1110
"magento/framework": "0.42.0-beta10",
12-
"magento/module-require-js": "0.42.0-beta10",
1311
"magento/magento-composer-installer": "*"
1412
},
1513
"type": "magento2-module",

dev/tests/integration/testsuite/Magento/User/Controller/Adminhtml/AuthTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class AuthTest extends \Magento\Backend\Utility\Controller
1919
public function testFormForgotpasswordAction()
2020
{
2121
$this->dispatch('backend/admin/auth/forgotpassword');
22-
$expected = 'Forgot your user name or password?';
22+
$expected = 'Password Help';
2323
$this->assertContains($expected, $this->getResponse()->getBody());
2424
}
2525

0 commit comments

Comments
 (0)