-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ejabberd_user: bug fixes + tests #7033
ejabberd_user: bug fixes + tests #7033
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
If nobody objects, I'll merge this by the end of this week. |
Backport to stable-6: 💚 backport PR created✅ Backport PR branch: Backported as #7069 🤖 @patchback |
@russoz thanks for your contribution! |
* ejabberd_user: bug fixes + tests * fix changed property * add license to handler file * adjustments to test * add needs/target/setup_epel to aliases * further adjustments to integration tests * add target to integration tests * add some skips to test * skip centos as it has no ejabberd * skip fedora as it has no ejabberd * discard unused epel setup * add changelog frag * remove ejabberd before tests * fix typo (cherry picked from commit c1f2f12)
Backport to stable-7: 💚 backport PR created✅ Backport PR branch: Backported as #7070 🤖 @patchback |
* ejabberd_user: bug fixes + tests * fix changed property * add license to handler file * adjustments to test * add needs/target/setup_epel to aliases * further adjustments to integration tests * add target to integration tests * add some skips to test * skip centos as it has no ejabberd * skip fedora as it has no ejabberd * discard unused epel setup * add changelog frag * remove ejabberd before tests * fix typo (cherry picked from commit c1f2f12)
…ts (#7069) ejabberd_user: bug fixes + tests (#7033) * ejabberd_user: bug fixes + tests * fix changed property * add license to handler file * adjustments to test * add needs/target/setup_epel to aliases * further adjustments to integration tests * add target to integration tests * add some skips to test * skip centos as it has no ejabberd * skip fedora as it has no ejabberd * discard unused epel setup * add changelog frag * remove ejabberd before tests * fix typo (cherry picked from commit c1f2f12) Co-authored-by: Alexei Znamensky <[email protected]>
…ts (#7070) ejabberd_user: bug fixes + tests (#7033) * ejabberd_user: bug fixes + tests * fix changed property * add license to handler file * adjustments to test * add needs/target/setup_epel to aliases * further adjustments to integration tests * add target to integration tests * add some skips to test * skip centos as it has no ejabberd * skip fedora as it has no ejabberd * discard unused epel setup * add changelog frag * remove ejabberd before tests * fix typo (cherry picked from commit c1f2f12) Co-authored-by: Alexei Znamensky <[email protected]>
SUMMARY
Add two bugfixes to ejabberd_user module:
EjabberdUser.exist
should returnTrue
orFalse
, but it was returning the tuple from a command execution (alwaysTrue
inbool
context)EjabberdUser.changed
should returnTrue
orFalse
, but it was returning the tuple from a command execution (alwaysTrue
inbool
context)Added integration tests.
ISSUE TYPE
COMPONENT NAME
ejabberd_user