Add GET test handler for unit tests

This commit is contained in:
Zach Borboa
2013-12-28 23:36:39 -08:00
parent 3778f070cb
commit cdeb589a4c
+4
View File
@@ -19,6 +19,10 @@ if ($test == 'http_basic_auth') {
));
exit;
}
else if ($test === 'get') {
echo http_build_query($_GET);
exit;
}
else if ($test === 'post') {
echo http_build_query($_POST);
exit;