communication: refactor SyncLogicHandler to not need a ConfParameter reference

refs #4208

Change-Id: I5194c0a775dc1581af3a6ebd2db3699892671fb4
diff --git a/tests/test-conf-parameter.cpp b/tests/test-conf-parameter.cpp
index 02fe05b..cb52323 100644
--- a/tests/test-conf-parameter.cpp
+++ b/tests/test-conf-parameter.cpp
@@ -1,6 +1,6 @@
 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
 /*
- * Copyright (c) 2014-2023,  The University of Memphis,
+ * Copyright (c) 2014-2024,  The University of Memphis,
  *                           Regents of the University of California
  *
  * This file is part of NLSR (Named-data Link State Routing).
@@ -62,7 +62,7 @@
 
   cp1.setMaxFacesPerPrefix(50);
 
-  cp1.setHyperbolicState(1);
+  cp1.setHyperbolicState(HYPERBOLIC_STATE_ON);
 
   cp1.setCorR(2.5);
 
@@ -98,7 +98,7 @@
 
   BOOST_CHECK_EQUAL(cp1.getMaxFacesPerPrefix(), 50);
 
-  BOOST_CHECK_EQUAL(cp1.getHyperbolicState(), 1);
+  BOOST_CHECK_EQUAL(cp1.getHyperbolicState(), HYPERBOLIC_STATE_ON);
 
   BOOST_CHECK(cp1.getCorTheta() == angles);