1
0
mirror of https://gitlab.xiph.org/xiph/icecast-common.git synced 2024-12-04 14:46:31 -05:00

Fix: Corrected report XML unit tests

This commit is contained in:
Philipp Schafft 2018-12-18 20:20:38 +00:00
parent a98da37c93
commit 54ebab6a2a

View File

@ -26,7 +26,7 @@ static void test_create_unref(void)
ctest_test("report created", !igloo_RO_IS_NULL(report));
ctest_test("un-referenced", igloo_ro_unref(report) == 0);
node = reportxml_node_new(REPORTXML_NODE_TYPE_REPORT, NULL, NULL, NULL);
node = igloo_reportxml_node_new(igloo_REPORTXML_NODE_TYPE_REPORT, NULL, NULL, NULL);
ctest_test("node created", !igloo_RO_IS_NULL(node));
ctest_test("un-referenced", igloo_ro_unref(node) == 0);