projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- fix tests
[m6w6/ext-http]
/
tests
/
negotiation_001.phpt
diff --git
a/tests/negotiation_001.phpt
b/tests/negotiation_001.phpt
index df42ff6c85f69b6c79a0e916783eccb3c89397b6..d4b13ac0ccc416d7def7c71df2830bd588a5e273 100644
(file)
--- a/
tests/negotiation_001.phpt
+++ b/
tests/negotiation_001.phpt
@@
-4,12
+4,13
@@
negotiation
<?php
include 'skip.inc';
?>
<?php
include 'skip.inc';
?>
+--ENV--
+HTTP_ACCEPT=application/xml, application/xhtml+xml, text/html ; q = .8
+HTTP_ACCEPT_LANGUAGE=de-AT,de-DE;q=0.8,en-GB;q=0.3,en-US;q=0.2
+HTTP_ACCEPT_CHARSET=ISO-8859-1,utf-8;q=0.7,*;q=0.7
--FILE--
<?php
echo "-TEST\n";
--FILE--
<?php
echo "-TEST\n";
-$_SERVER['HTTP_ACCEPT'] = 'application/xml, application/xhtml+xml, text/html ; q = .8';
-$_SERVER['HTTP_ACCEPT_LANGUAGE'] = 'de-AT,de-DE;q=0.8,en-GB;q=0.3,en-US;q=0.2';
-$_SERVER['HTTP_ACCEPT_CHARSET'] = 'ISO-8859-1,utf-8;q=0.7,*;q=0.7';
$langs = array(
array('de', 'en', 'es'),
);
$langs = array(
array('de', 'en', 'es'),
);