]> granicus.if.org Git - php/commitdiff
correct tests as the issue is only reproduceable with cgi/fpm
authorAnatol Belski <ab@php.net>
Tue, 10 Mar 2015 09:20:43 +0000 (10:20 +0100)
committerAnatol Belski <ab@php.net>
Tue, 10 Mar 2015 09:21:22 +0000 (10:21 +0100)
Zend/tests/exception_011.phpt
Zend/tests/exception_012.phpt

index 86e10262d142d9d9c4b566530906cc0ee432a3d9..e02a75a2b0811b4ed66f6fef2d794fb112d2a694 100644 (file)
@@ -10,6 +10,8 @@ define ("XXXXX", 1);
 assert(false);
 
 ?>
+--EXPECTHEADERS--
+Content-type: text/html; charset=UTF-8
 --EXPECTF--
 Fatal error: Uncaught exception 'AssertionException' with message 'assert(false)' in %sexception_011.php:%d
 Stack trace:
index 91ea84b2e98b40db4ccea9c0b6eb1b403a411119..6493e2ccf7fa5c821670105e998083f819942b58 100644 (file)
@@ -10,6 +10,8 @@ $func = create_function('', 'define("Mommy", 1); assert(false);');
 $func();
 
 ?>
+--EXPECTHEADERS--
+Content-type: text/html; charset=UTF-8
 --EXPECTF--
 Fatal error: Uncaught exception 'AssertionException' with message 'assert(false)' in %sexception_012.php(%d) : runtime-created function:%d
 Stack trace: