Skip to content

Commit 7411e99

Browse files
author
Dmytro Vilchynskyi
committed
MAGETWO-36132: Update Content in Magento 2 by Modules - part 4
- fixed tests
1 parent ceb6c11 commit 7411e99

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<h1 class="page-heading"><?php echo __('Access denied') ?></h1>
1616
<?php if (!$block->hasAvailableResources()): ?>
1717
<p>
18-
<?php echo __('Please try to log out and sign in again.') ?><br/>
18+
<?php echo __('Please try to sign out and sign in again.') ?><br/>
1919
<?php echo __('If you continue to receive this message, please contact the store owner.') ?>
2020
</p>
2121
<?php else: ?>

dev/tests/functional/tests/app/Magento/User/Test/Constraint/AssertUserRoleRestrictedAccess.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717
class AssertUserRoleRestrictedAccess extends AbstractConstraint
1818
{
19-
const DENIED_ACCESS = 'You need more permissions to access this.';
19+
const DENIED_ACCESS = 'Access denied';
2020

2121
/**
2222
* Asserts that user has only related permissions.

0 commit comments

Comments
 (0)