diff options
Diffstat (limited to 'test/openpower-pels/pel_manager_test.cpp')
-rw-r--r-- | test/openpower-pels/pel_manager_test.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/openpower-pels/pel_manager_test.cpp b/test/openpower-pels/pel_manager_test.cpp index 9d788c9..0a82141 100644 --- a/test/openpower-pels/pel_manager_test.cpp +++ b/test/openpower-pels/pel_manager_test.cpp @@ -27,8 +27,10 @@ TEST_F(ManagerTest, TestCreateWithPEL) { auto bus = sdbusplus::bus::new_default(); phosphor::logging::internal::Manager logManager(bus, "logging_path"); + std::unique_ptr<DataInterfaceBase> dataIface = + std::make_unique<DataInterface>(bus); - openpower::pels::Manager manager{logManager}; + openpower::pels::Manager manager{logManager, std::move(dataIface)}; // Create a PEL, write it to a file, and pass that filename into // the create function. |