mirror of
https://github.com/KingDuckZ/kamokan.git
synced 2025-08-07 12:59:45 +00:00
REQUEST_METHOD must be given or better_enums will complain.
This commit is contained in:
parent
4e32006e08
commit
eef10a3d5e
3 changed files with 3 additions and 0 deletions
|
@ -36,6 +36,7 @@ TEST_CASE ("Retrieve and sanitize invalid an invalid utf-8 text from environment
|
|||
const char* const fake_env[] = {
|
||||
reinterpret_cast<const char*>(path_info_valid),
|
||||
reinterpret_cast<const char*>(path_translated_invalid),
|
||||
"REQUEST_METHOD=GET",
|
||||
nullptr
|
||||
};
|
||||
|
||||
|
|
|
@ -52,6 +52,7 @@ TEST_CASE ("Retrieve and sanitize invalid an invalid utf-8 text from POST data",
|
|||
const char* const fake_env[] = {
|
||||
content_length.c_str(),
|
||||
"PATH_INFO=/",
|
||||
"REQUEST_METHOD=GET",
|
||||
nullptr
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue