summaryrefslogtreecommitdiff
path: root/ext/standard/tests
diff options
context:
space:
mode:
authorAndrea Faulds <ajf@ajf.me>2014-12-15 02:26:00 +0000
committerAndrea Faulds <ajf@ajf.me>2014-12-21 03:12:39 +0000
commite20cbdbe97cbda010fd386cb35a474aa255cd7f6 (patch)
treeb745a5bcb3fe86814ad471bdbbdab88f67da35c6 /ext/standard/tests
parentdca2e96885da874a7a446a22d4046528f25f5baa (diff)
downloadphp-git-e20cbdbe97cbda010fd386cb35a474aa255cd7f6.tar.gz
Unify HTTP status code maps
Diffstat (limited to 'ext/standard/tests')
-rw-r--r--ext/standard/tests/general_functions/header_redirection_001.phpt2
-rw-r--r--ext/standard/tests/general_functions/header_redirection_002.phpt2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/tests/general_functions/header_redirection_001.phpt b/ext/standard/tests/general_functions/header_redirection_001.phpt
index ecf57ec54a..c5ea70b56c 100644
--- a/ext/standard/tests/general_functions/header_redirection_001.phpt
+++ b/ext/standard/tests/general_functions/header_redirection_001.phpt
@@ -6,6 +6,6 @@ Location: headers change the status code
header('Location: http://example.com/');
?>
--EXPECTHEADERS--
-Status: 302 Moved Temporarily
+Status: 302 Found
Location: http://example.com/
--EXPECT--
diff --git a/ext/standard/tests/general_functions/header_redirection_002.phpt b/ext/standard/tests/general_functions/header_redirection_002.phpt
index 2bf6dec510..3f8e0b9dac 100644
--- a/ext/standard/tests/general_functions/header_redirection_002.phpt
+++ b/ext/standard/tests/general_functions/header_redirection_002.phpt
@@ -7,6 +7,6 @@ header("HTTP/1.1 418 I'm a Teapot");
header('Location: http://example.com/');
?>
--EXPECTHEADERS--
-Status: 302 Moved Temporarily
+Status: 302 Found
Location: http://example.com/
--EXPECT--