aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/testing/httptest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/zenhttp/testing/httptest.cpp')
-rw-r--r--src/zenhttp/testing/httptest.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/zenhttp/testing/httptest.cpp b/src/zenhttp/testing/httptest.cpp
index 3e77e9c8c..a02e36bcc 100644
--- a/src/zenhttp/testing/httptest.cpp
+++ b/src/zenhttp/testing/httptest.cpp
@@ -6,6 +6,8 @@
#include <zencore/compactbinarypackage.h>
#include <zencore/timer.h>
+#if ZEN_WITH_TESTS
+
namespace zen {
using namespace std::literals;
@@ -205,3 +207,5 @@ HttpTestingService::PackageHandler::CreateTarget(const IoHash& Cid, uint64_t Sto
}
} // namespace zen
+
+#endif