mirror of
https://github.com/php/php-src.git
synced 2026-04-07 08:02:49 +02:00
use example.com instead of real domain name
This commit is contained in:
@@ -14,7 +14,7 @@ var_dump( ezmlm_hash() );
|
||||
|
||||
echo "\n-- Testing ezmlm_hash() function with more than expected no. of arguments --\n";
|
||||
$extra_arg = 10;
|
||||
var_dump( ezmlm_hash("webmaster@something.com", $extra_arg) );
|
||||
var_dump( ezmlm_hash("webmaster@example.com", $extra_arg) );
|
||||
|
||||
echo "\n-- Testing ezmlm_hash() function with invalid input - ARRAY --\n";
|
||||
$array_arg = array(1,2,3,4);
|
||||
@@ -63,4 +63,4 @@ NULL
|
||||
|
||||
Warning: ezmlm_hash() expects parameter 1 to be binary string, resource given in %s on line %d
|
||||
NULL
|
||||
===DONE===
|
||||
===DONE===
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Change these to make tests run successfully
|
||||
$server = '{localhost}';
|
||||
$default_mailbox = $server . "INBOX";
|
||||
$domain = "something.com";
|
||||
$domain = "example.com";
|
||||
$admin_user = "webmaster"; // a user with admin access
|
||||
$username = "$admin_user@$domain";
|
||||
$password = 'p4ssw0rd';
|
||||
@@ -147,4 +147,4 @@ function get_mailbox_name($mailbox){
|
||||
return $match[1];
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
@@ -3,7 +3,7 @@ extension_loaded('imap') or die('skip imap extension not available in this build
|
||||
|
||||
// Change these to make tests run successfully
|
||||
$mailbox = '{localhost}';
|
||||
$username = 'webmaster@something.com';
|
||||
$username = 'webmaster@example.com';
|
||||
$password = 'p4ssw0rd';
|
||||
$options = OP_HALFOPEN; // this should be enough to verify server present
|
||||
$retries = 0; // dont retry connect on failure
|
||||
@@ -13,4 +13,4 @@ if (!$mbox) {
|
||||
die("skip could not connect to mailbox $mailbox");
|
||||
}
|
||||
imap_close($mbox);
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user