Do not even try to test return data with postman-echo

This commit is contained in:
Mm2PL 2024-10-15 02:03:09 +02:00
parent 374cef51cc
commit 4d02987365
No known key found for this signature in database
GPG key ID: 94AC9B80EFA15ED9

View file

@ -405,8 +405,13 @@ TEST_F(PluginTest, testHttp)
std::vector<RequestCase> cases{ std::vector<RequestCase> cases{
{"/status/200", true, false, 200, "200"}, {"/status/200", true, false, 200, "200"},
{"/delay/2", false, true, 0, "TimeoutError"}, {"/delay/2", false, true, 0, "TimeoutError"},
# ifdef CHATTERINO_TEST_USE_PUBLIC_HTTPBIN
# warning \
"Cannot test data returned from httpbin. The public one does not return data verbatim."
# else
{"/post", true, false, 200, "200", NetworkRequestType::Post, {"/post", true, false, 200, "200", NetworkRequestType::Post,
"Example data"}, "Example data"},
# endif
}; };
for (const auto &c : cases) for (const auto &c : cases)