aboutsummaryrefslogtreecommitdiff
path: root/zenserver-test/zenserver-test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zenserver-test/zenserver-test.cpp')
-rw-r--r--zenserver-test/zenserver-test.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/zenserver-test/zenserver-test.cpp b/zenserver-test/zenserver-test.cpp
index e71b7f730..791bf4946 100644
--- a/zenserver-test/zenserver-test.cpp
+++ b/zenserver-test/zenserver-test.cpp
@@ -1383,11 +1383,7 @@ TEST_CASE("mesh.basic")
class ZenServerTestHelper
{
public:
- ZenServerTestHelper(std::string_view HelperId, int ServerCount)
- : m_HelperId{HelperId}
- , m_ServerCount{ServerCount}
- {
- }
+ ZenServerTestHelper(std::string_view HelperId, int ServerCount) : m_HelperId{HelperId}, m_ServerCount{ServerCount} {}
~ZenServerTestHelper() {}
void SpawnServers()
@@ -1464,7 +1460,7 @@ TEST_CASE("http.package")
Servers.SpawnServers();
ZenServerInstance& Instance = Servers.GetInstance(0);
- const std::string BaseUri = Instance.GetBaseUri();
+ const std::string BaseUri = Instance.GetBaseUri();
{
cpr::Response r = cpr::Post(cpr::Url{"{}/testing/package"_format(BaseUri)}, cpr::Body{"yoyoyoyo"});