mirror of
https://github.com/delight-im/PHP-Auth.git
synced 2025-08-03 14:47:30 +02:00
Use full and valid HTML page markup in tests
This commit is contained in:
@@ -35,6 +35,14 @@ $db = new \PDO('mysql:dbname=php_auth;host=127.0.0.1;charset=utf8mb4', 'root', '
|
|||||||
|
|
||||||
$auth = new \Delight\Auth\Auth($db);
|
$auth = new \Delight\Auth\Auth($db);
|
||||||
|
|
||||||
|
echo '<!DOCTYPE html>';
|
||||||
|
echo '<html>';
|
||||||
|
echo '<head>';
|
||||||
|
echo '<meta charset="utf-8">';
|
||||||
|
echo '<title></title>';
|
||||||
|
echo '</head>';
|
||||||
|
echo '<body>';
|
||||||
|
|
||||||
$result = \processRequestData($auth);
|
$result = \processRequestData($auth);
|
||||||
|
|
||||||
\showGeneralForm();
|
\showGeneralForm();
|
||||||
@@ -1310,3 +1318,6 @@ function createRolesOptions() {
|
|||||||
|
|
||||||
return $out;
|
return $out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
echo '</body>';
|
||||||
|
echo '</html>';
|
||||||
|
Reference in New Issue
Block a user