mgmt: eliminate FaceManager::setConfigFile()
Change-Id: Ib39b05a969345448b3719047093577df31d2bf8a
Refs: #3904
diff --git a/tests/daemon/mgmt/face-manager-command-fixture.cpp b/tests/daemon/mgmt/face-manager-command-fixture.cpp
index 4053682..8fcb965 100644
--- a/tests/daemon/mgmt/face-manager-command-fixture.cpp
+++ b/tests/daemon/mgmt/face-manager-command-fixture.cpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2014-2017, Regents of the University of California,
+ * Copyright (c) 2014-2018, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University,
@@ -39,7 +39,7 @@
{
dispatcher.addTopPrefix("/localhost/nfd");
- std::string config =
+ const std::string config =
"face_system\n"
"{\n"
" tcp\n"
@@ -70,7 +70,7 @@
"\n";
ConfigFile cf;
- manager.setConfigFile(cf);
+ faceSystem.setConfigFile(cf);
authenticator->setConfigFile(cf);
cf.parse(config, false, "dummy-config");
}
@@ -109,12 +109,12 @@
: node1(m_keyChain, 16363)
, node2(m_keyChain, 26363)
{
- advanceClocks(time::milliseconds(1), 5);
+ advanceClocks(1_ms, 5);
}
FaceManagerCommandFixture::~FaceManagerCommandFixture()
{
- advanceClocks(time::milliseconds(1), 5);
+ advanceClocks(1_ms, 5);
}
} // namespace tests