aboutsummaryrefslogtreecommitdiff
path: root/zenserver-test/zenserver-test.cpp
diff options
context:
space:
mode:
authorPer Larsson <[email protected]>2021-10-21 09:49:26 +0200
committerPer Larsson <[email protected]>2021-10-21 09:49:26 +0200
commitdeb2f8caf4c5a81a0b37d343f792861fdab19d15 (patch)
tree5a9e952ae4d97c38eb00c579d97cb33de5d95b05 /zenserver-test/zenserver-test.cpp
parentCompressed oplog attachments (diff)
downloadzen-deb2f8caf4c5a81a0b37d343f792861fdab19d15.tar.xz
zen-deb2f8caf4c5a81a0b37d343f792861fdab19d15.zip
Fixed failing test.
Diffstat (limited to 'zenserver-test/zenserver-test.cpp')
-rw-r--r--zenserver-test/zenserver-test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zenserver-test/zenserver-test.cpp b/zenserver-test/zenserver-test.cpp
index bc1404861..23be9f729 100644
--- a/zenserver-test/zenserver-test.cpp
+++ b/zenserver-test/zenserver-test.cpp
@@ -2136,7 +2136,7 @@ TEST_CASE("http.basics")
{
cpr::Response r = cpr::Get(cpr::Url{"{}/testing/hello"_format(BaseUri)});
- CHECK_EQ(r.status_code, 200);
+ CHECK(IsHttpSuccessCode(r.status_code));
}
{