test(disco): add functional test for disco#items error handling

Verifies that /disco items displays error responses (e.g. service-unavailable)
to the user, per XEP-0030 Section 7.
This commit is contained in:
2026-02-16 11:16:01 +03:00
parent 4b45f9cf58
commit a2a2db7c45
4 changed files with 44 additions and 2 deletions

View File

@@ -186,6 +186,7 @@ functionaltest_sources = \
tests/functionaltests/test_muc.c tests/functionaltests/test_muc.h \
tests/functionaltests/test_disconnect.c tests/functionaltests/test_disconnect.h \
tests/functionaltests/test_lastactivity.c tests/functionaltests/test_lastactivity.h \
tests/functionaltests/test_disco.c tests/functionaltests/test_disco.h \
tests/functionaltests/functionaltests.c
main_source = src/main.c