File: Fixes-unit-testing

package info (click to toggle)
php-mail 1.2.0-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 228 kB
  • sloc: php: 1,110; xml: 164; sh: 9; makefile: 9
file content (12 lines) | stat: -rw-r--r-- 610 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
Description: Fixes unit testing for the phpunit test file.
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no

--- php-mail-1.2.0.orig/Mail-1.2.0/tests/smtp_error.phpt
+++ php-mail-1.2.0/Mail-1.2.0/tests/smtp_error.phpt
@@ -24,4 +24,4 @@ if (is_a($e, 'PEAR_Error')) {
 }
 
 --EXPECT--
-Failed to connect to bogus.host.tld:25 [SMTP: Failed to connect socket:  (code: -1, response: )]
+Failed to connect to bogus.host.tld:25 [SMTP: Failed to connect socket: fsockopen(): unable to connect to bogus.host.tld:25 (php_network_getaddresses: getaddrinfo failed: Name or service not known) (code: -1, response: )]