mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Do not even try to test return data with postman-echo
This commit is contained in:
parent
374cef51cc
commit
4d02987365
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue