diff options
author | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2021-04-23 04:02:34 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2021-04-23 04:02:34 +0300 |
commit | f6f4af1efe4c8b2ff3b6a9a59a4172dada82dc27 (patch) | |
tree | 29053cd75a55d5baa68f871f05c12b34f2d89e2a /test | |
parent | f19a3d95c46de16764bcf7ab41a27f0e315c2148 (diff) |
Change log-in page to use Bootstrap format
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'test')
-rw-r--r-- | test/classes/Plugins/Auth/AuthenticationCookieTest.php | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/classes/Plugins/Auth/AuthenticationCookieTest.php b/test/classes/Plugins/Auth/AuthenticationCookieTest.php index 1e8f7cb919..07a7a497c5 100644 --- a/test/classes/Plugins/Auth/AuthenticationCookieTest.php +++ b/test/classes/Plugins/Auth/AuthenticationCookieTest.php @@ -210,30 +210,30 @@ class AuthenticationCookieTest extends AbstractNetworkTestCase $this->assertStringContainsString( '<form method="post" id="login_form" action="index.php?route=/" name="login_form" ' . - 'class="disableAjax hide login js-show form-horizontal">', + 'class="disableAjax hide js-show">', $result ); $this->assertStringContainsString( - '<input type="text" name="pma_servername" id="input_servername" ' . + '<input type="text" name="pma_servername" id="serverNameInput" ' . 'value="localhost"', $result ); $this->assertStringContainsString( '<input type="text" name="pma_username" id="input_username" ' . - 'value="pmauser" size="24" class="textfield" autocomplete="username">', + 'value="pmauser" class="form-control" autocomplete="username">', $result ); $this->assertStringContainsString( '<input type="password" name="pma_password" id="input_password" ' . - 'value="" size="24" class="textfield" autocomplete="current-password">', + 'value="" class="form-control" autocomplete="current-password">', $result ); $this->assertStringContainsString( - '<select name="server" id="select_server" ' . + '<select name="server" id="select_server" class="form-select" ' . 'onchange="document.forms[\'login_form\'].' . 'elements[\'pma_servername\'].value = \'\'">', $result @@ -307,7 +307,7 @@ class AuthenticationCookieTest extends AbstractNetworkTestCase $this->assertStringContainsString( '<form method="post" id="login_form" action="index.php?route=/" name="login_form"' . - ' class="disableAjax hide login js-show form-horizontal" autocomplete="off">', + ' class="disableAjax hide js-show" autocomplete="off">', $result ); @@ -324,7 +324,7 @@ class AuthenticationCookieTest extends AbstractNetworkTestCase $this->assertStringContainsString( '<input class="btn btn-primary g-recaptcha" data-sitekey="testpubkey"' - . ' data-callback="Functions_recaptchaCallback" value="Go" type="submit" id="input_go">', + . ' data-callback="Functions_recaptchaCallback" value="Log in" type="submit" id="input_go">', $result ); } @@ -387,7 +387,7 @@ class AuthenticationCookieTest extends AbstractNetworkTestCase $this->assertStringContainsString( '<form method="post" id="login_form" action="index.php?route=/" name="login_form"' . - ' class="disableAjax hide login js-show form-horizontal" autocomplete="off">', + ' class="disableAjax hide js-show" autocomplete="off">', $result ); @@ -408,7 +408,7 @@ class AuthenticationCookieTest extends AbstractNetworkTestCase ); $this->assertStringContainsString( - '<input class="btn btn-primary" value="Go" type="submit" id="input_go">', + '<input class="btn btn-primary" value="Log in" type="submit" id="input_go">', $result ); } |