mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-14 02:50:13 -04:00
Update tests to match the way that we store server variables in the
comment. Get rid of comment::update tests since, comment::update is gone. Found a bug in comment::create() in the process.. yay unit tests!
This commit is contained in:
@@ -48,7 +48,7 @@ class comment_Core {
|
||||
// These values are useful for spam fighting, so save them with the comment.
|
||||
$input = Input::instance();
|
||||
$comment->server_http_accept = $input->server("HTTP_ACCEPT");
|
||||
$comment->server_http_accept_charset = $input->server("SERVER_HTTP_ACCEPT_CHARSET");
|
||||
$comment->server_http_accept_charset = $input->server("HTTP_ACCEPT_CHARSET");
|
||||
$comment->server_http_accept_encoding = $input->server("HTTP_ACCEPT_ENCODING");
|
||||
$comment->server_http_accept_language = $input->server("HTTP_ACCEPT_LANGUAGE");
|
||||
$comment->server_http_connection = $input->server("HTTP_CONNECTION");
|
||||
|
||||
Reference in New Issue
Block a user