diff tests/plugin-plugin/main.cpp @ 250:79d9840811a1

Irccd: fix tests
author David Demelier <markand@malikania.fr>
date Thu, 18 Aug 2016 16:42:10 +0200
parents 2d10d7e661a0
children f04acabfbbe5
line wrap: on
line diff
--- a/tests/plugin-plugin/main.cpp	Wed Aug 17 23:00:59 2016 +0200
+++ b/tests/plugin-plugin/main.cpp	Thu Aug 18 16:42:10 2016 +0200
@@ -35,7 +35,7 @@
 
 public:
     inline ServerTest()
-        : Server("test", ServerInfo())
+        : Server("test")
     {
     }
 
@@ -72,7 +72,7 @@
 
 public:
     PluginTest()
-        : m_ps(m_irccd.pluginService())
+        : m_ps(m_irccd.plugins())
         , m_server(std::make_shared<ServerTest>())
     {
         m_ps.add(std::make_shared<FakePlugin>());