Fixup tests for 4eee386

This commit is contained in:
Charles Dang 2018-06-25 16:37:50 +11:00
parent dd69107c9b
commit 862b086ba9

View file

@ -856,7 +856,7 @@ struct dialog_tester<mp_lobby>
wesnothd_connection_init init;
std::vector<std::string> installed_addons;
mp::lobby_info li;
dialog_tester() : connection("", ""), init(connection), li(game_config, installed_addons)
dialog_tester() : connection("", ""), init(connection), li(installed_addons)
{
}
mp_lobby* create()
@ -876,7 +876,6 @@ class fake_chat_handler : public events::chat_handler {
template<>
struct dialog_tester<lobby_player_info>
{
config c;
fake_chat_handler ch;
wesnothd_connection connection;
wesnothd_connection_init init;
@ -885,7 +884,7 @@ struct dialog_tester<lobby_player_info>
mp::lobby_info li;
dialog_tester()
: connection("", ""), init(connection)
, ui(c), li(c, installed_addons)
, ui(c), li(installed_addons)
{
}
lobby_player_info* create()