Skip to content

Commit 2e9bc34

Browse files
committed
test
1 parent 3133750 commit 2e9bc34

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

ext/standard/tests/mail/bug72964.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ if ($res !== true) {
3333
}
3434

3535
$mail = searchEmailByToAddress($to);
36-
var_dump($mail);
36+
var_dump($mail, $from, $to, $subject, $message);
3737

3838
if (mailCheckResponse($res, $from, $to, $subject, $message)) {
3939
echo "Received the email.\n";

ext/standard/tests/mail/bug80706.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ if (mailCheckResponse($res, $from, $to, $subject, $message)) {
4343
}
4444

4545
$headers = getHeaders($res);
46+
var_dump($headers);
4647
if ($headers['X-Mailer'] === $xMailer) {
4748
echo "The specified x-Mailer exists.";
4849
}

ext/standard/tests/mail/bug80751.phpt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,17 @@ if (mailCheckResponse($res, $from, $to, $subject, $message)) {
5757
echo "Return-Path is as expected.\n";
5858
}
5959

60+
$headers = getHeaders($res);
61+
var_dump($headers);
62+
6063
if (makeNameAndAddressLine($res['To'][0]) === $toLine) {
6164
echo "To header is as expected.\n";
6265
}
6366

6467
if (makeNameAndAddressLine($res['From']) === $fromLine) {
6568
echo "From header is as expected.\n";
6669
}
67-
70+
var_dump($res['Cc'][0]);
6871
if (makeNameAndAddressLine($res['Cc'][0]) === $ccLine) {
6972
echo "Cc header is as expected.";
7073
}

ext/standard/tests/mail/mailpit_utils.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function deleteEmail($res)
5151

5252
if ($id) {
5353
$query = urlencode("message-id:{$id}");
54-
file_get_contents("http://localhost:8025/api/v1/search?query={$query}", stream_context_create([
54+
file_get_contents("http://localhost:8025/api/v1/search?query={$query}", false, stream_context_create([
5555
'http' => [
5656
'method' => 'DELETE',
5757
],

0 commit comments

Comments
 (0)