From: Francis Dupont Date: Thu, 15 Oct 2020 08:06:45 +0000 (+0200) Subject: [#1450] Added LOG_CHECK_VERBOSE flag for review X-Git-Tag: Kea-1.9.1~77 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=528bb8dbf20d508b3c6e4dd4c7fd31754494f331;p=thirdparty%2Fkea.git [#1450] Added LOG_CHECK_VERBOSE flag for review --- diff --git a/src/lib/http/tests/response_creator_unittests.cc b/src/lib/http/tests/response_creator_unittests.cc index 1b2f9fdfb8..39b226e310 100644 --- a/src/lib/http/tests/response_creator_unittests.cc +++ b/src/lib/http/tests/response_creator_unittests.cc @@ -135,7 +135,17 @@ TEST(HttpResponseCreatorTest, goodRequest) { } /// @brief Test fixture for HTTP response creator authentication. -class HttpResponseCreatorAuthTest : public LogContentTest { }; +class HttpResponseCreatorAuthTest : public LogContentTest { +public: + /// @brief Constructor. + /// + /// Set the logCheckVerbose flag + HttpResponseCreatorAuthTest() { +#ifdef LOG_CHECK_VERBOSE + logCheckVerbose(true); +#endif + } +}; // This test verifies that missing required authentication header gives // unauthorized error.