File tree Expand file tree Collapse file tree 2 files changed +26
-1
lines changed
app/code/Magento/Integration/etc/adminhtml
dev/tests/integration/testsuite/Magento/Integration/Block/Adminhtml/System/Config Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change 54
54
<label >Maximum Login Failures to Lock Out Account</label >
55
55
<comment >Maximum Number of authentication failures to lock out account.</comment >
56
56
</field >
57
- <field id =" timeout" translate =" label" type =" text comment " sortOrder =" 30" showInDefault =" 1" showInWebsite =" 0" showInStore =" 0" canRestore =" 1" >
57
+ <field id =" timeout" translate =" label comment " type =" text" sortOrder =" 30" showInDefault =" 1" showInWebsite =" 0" showInStore =" 0" canRestore =" 1" >
58
58
<label >Lockout Time (seconds)</label >
59
59
<comment >Period of time in seconds after which account will be unlocked.</comment >
60
60
</field >
Original file line number Diff line number Diff line change
1
+ <?php
2
+ /**
3
+ * Copyright © Magento, Inc. All rights reserved.
4
+ * See COPYING.txt for license details.
5
+ */
6
+ declare (strict_types=1 );
7
+
8
+
9
+ namespace Magento \Integration \Block \Adminhtml \System \Config ;
10
+
11
+ class OauthSectionTest extends \Magento \TestFramework \TestCase \AbstractBackendController
12
+ {
13
+ /**
14
+ * Checks that OAuth Section in the system config is loaded
15
+ */
16
+ public function testOAuthSection ()
17
+ {
18
+ $ this ->dispatch ('backend/admin/system_config/edit/section/oauth/ ' );
19
+ $ body = $ this ->getResponse ()->getBody ();
20
+ $ this ->assertContains ('id="oauth_access_token_lifetime-head" ' , $ body );
21
+ $ this ->assertContains ('id="oauth_cleanup-head" ' , $ body );
22
+ $ this ->assertContains ('id="oauth_consumer-head" ' , $ body );
23
+ $ this ->assertContains ('id="oauth_authentication_lock-head" ' , $ body );
24
+ }
25
+ }
You can’t perform that action at this time.
0 commit comments