cvs: pearweb /tests/site/pear-auth.php/auth_reject test_live.phpt
| From: | Daniel O'Connor | Date: | Wed, 03 Jun 2009 15:54:06 +0000 |
| Subject: | cvs: pearweb /tests/site/pear-auth.php/auth_reject test_live.phpt | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-8475@lists.php.net to get a copy of this message | ||
clockwerx Wed Jun 3 15:54:06 2009 UTC
Modified files:
/pearweb/tests/site/pear-auth.php/auth_reject test_live.phpt
Log:
Fixes broken tests
http://cvs.php.net/viewvc.cgi/pearweb/tests/site/pear-auth.php/auth_reject/test_live.phpt?r1=1.2&r2=1.3&diff_format=u
Index: pearweb/tests/site/pear-auth.php/auth_reject/test_live.phpt
diff -u pearweb/tests/site/pear-auth.php/auth_reject/test_live.phpt:1.2
pearweb/tests/site/pear-auth.php/auth_reject/test_live.phpt:1.3
--- pearweb/tests/site/pear-auth.php/auth_reject/test_live.phpt:1.2 Fri Jun 8 15:26:17 2007
+++ pearweb/tests/site/pear-auth.php/auth_reject/test_live.phpt Wed Jun 3 15:54:05 2009
@@ -15,38 +15,48 @@
?>
===DONE===
--EXPECTF--
-%s
- <div class="errors">ERROR:<ul><li>Please enter your username and
password:</li>
+%s<div class="errors">ERROR:<ul><li>Please enter your username and
password:</li>
</ul></div>
-<script type="text/javascript" src="/javascript/md5.js"></script>
-<script type="text/javascript">
-function doMD5(frm) {
- frm.PEAR_PW.value = hex_md5(frm.PEAR_PW.value);
- frm.isMD5.value = 1;
-}
-</script>
-<form onsubmit="javascript:doMD5(document.forms['login'])"
name="login" action="/login.php" method="post">
-<input type="hidden" name="isMD5" value="0" />
-<table class="form-holder" cellspacing="1">
- <tr>
- <th class="form-label_left">Use<span
class="accesskey">r</span>name or email address:</th>
- <td class="form-input"><input size="20" name="PEAR_USER"
accesskey="r" /></td>
- </tr>
- <tr>
- <th class="form-label_left">Password:</th>
- <td class="form-input"><input size="20" name="PEAR_PW"
type="password" /></td>
- </tr>
- <tr>
- <th class="form-label_left"> </th>
- <td class="form-input" style="white-space: nowrap"><input
type="checkbox" name="PEAR_PERSIST" value="on"
id="pear_persist_chckbx" /> <label for="pear_persist_chckbx">Remember
username and password.</label></td>
- </tr>
- <tr>
- <th class="form-label_left"> </td>
- <td class="form-input"><input type="submit" value="Log
in!" /></td>
- </tr>
-</table>
-<input type="hidden" name="PEAR_OLDURL" value="login.php" />
-</form>
-<hr /><p><strong>Note:</strong> If you just want to browse the website, you
will not need to log in. For all tasks that require authentication, you will be redirected to this
form automatically. You can sign up for an account <a
href="/account-request.php">over here</a>.</p><p>If you forgot your
password, instructions for resetting it can be found on a <a href="https://pear.php.net/about/forgot-password.php">dedicated
page</a>.</p>
- </td>
-%s
\ No newline at end of file
+ <script type="text/javascript"
src="/javascript/md5.js"></script>
+ <script type="text/javascript">
+ function doMD5(frm) {
+ frm.PEAR_PW.value = hex_md5(frm.PEAR_PW.value);
+ frm.isMD5.value = 1;
+ }
+ </script>
+ <form onsubmit="javascript:doMD5(document.forms['login'])"
name="login" action="/login.php" method="post">
+ <input type="hidden" name="isMD5" value="0" />
+ <table class="form-holder" cellspacing="1">
+ <tr>
+ <th class="form-label_left">
+ Use<span class="accesskey">r</span>name or email address:</th>
+ <td class="form-input">
+ <input size="20" name="PEAR_USER" accesskey="r"
type="text" /></td>
+ </tr>
+ <tr>
+ <th class="form-label_left">Password:</th>
+ <td class="form-input">
+ <input size="20" name="PEAR_PW" type="password"
/></td>
+ </tr>
+ <tr>
+ <th class="form-label_left"> </th>
+ <td class="form-input" style="white-space: nowrap">
+ <input type="checkbox" name="PEAR_PERSIST" value="on"
id="pear_persist_chckbx" />
+ <label for="pear_persist_chckbx">Remember username and
password.</label></td>
+ </tr>
+ <tr>
+ <th class="form-label_left"> </td>
+ <td class="form-input"><input type="submit" value="Log
in!" /></td>
+ </tr>
+ </table>
+ <input type="hidden" name="PEAR_OLDURL" value="login.php"
/>
+ </form>
+ <p><strong>Note:</strong> If you just want to browse the website,
+ you will not need to log in. For all tasks that require
+ authentication, you will be redirected to this form
+ automatically. You can sign up for an account
+ <a href="/account-request.php">over here</a>.</p>
+ <p>If you forgot your password, instructions for resetting
+ it can be found on a <a href="https://pear.php.net/about/forgot-password.php">
+ dedicated page</a>.</p>
+%s