Fix config parameter related tests

The tests gave null arguments when a valid object was expected.
This commit is contained in:
Esa Korhonen
2019-02-25 17:10:00 +02:00
parent 2a63fb0776
commit 41a72bcc30
2 changed files with 10 additions and 4 deletions

View File

@ -407,7 +407,8 @@ int test_domain_matching(const char* actual_module,
/** Create a monitor */
char* libdir = MXS_STRDUP_A("../../modules/monitor/mariadbmon/");
set_libdir(libdir);
MonitorManager::create_monitor(name, actual_module, NULL);
MXS_CONFIG_PARAMETER empty;
MonitorManager::create_monitor(name, actual_module, &empty);
const MODULECMD* cmd;