Skip to content
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

E2E_Core_HookTest - Fix test failure due to leak #17251

Merged
merged 1 commit into from
May 7, 2020

Conversation

totten
Copy link
Member

@totten totten commented May 7, 2020

Before

The HookTest class fails when running on WordPress.

The event-listener from testSymfonyListener_names leaks and remains active during testSymfonyListener_int.

After

The HookTest class passes when running on WordPress.

The event-listeners from testSymfonyListener_names and testSymfonyListener_int are cleaned up.

Before
------

The `HookTest` class fails when running on WordPress.

The event-listener from `testSymfonyListener_names` leaks and remains active during `testSymfonyListener_int`.

After
-----

The `HookTest` class passes when running on WordPress.

The event-listeners from `testSymfonyListener_names` and `testSymfonyListener_int` are cleaned up.
@civibot
Copy link

civibot bot commented May 7, 2020

(Standard links)

@civibot civibot bot added the master label May 7, 2020
@totten totten merged commit 5eb36d7 into civicrm:master May 7, 2020
@totten totten deleted the master-hooktest branch May 7, 2020 06:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants