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

Extract event anonymous inner classes from webhook processor. #966

Merged
merged 1 commit into from
Jan 12, 2025

Conversation

nfalco79
Copy link
Member

Move test to JUnit5 and add processor unit test
Add unit test for hook processor when process pull request.
Consider to add other events for tag, new commit and so on

} catch (AbstractMethodError e) {
type.getProcessor().process(body, instanceType);
hookProcessor.process(body, instanceType);

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note

Invoking
HookProcessor.process
should be avoided because it has been deprecated.
@nfalco79 nfalco79 force-pushed the feature/webhook_cleanup_test_case branch 4 times, most recently from 95d67e8 to 59f5bf4 Compare January 12, 2025 18:48
@nfalco79 nfalco79 force-pushed the feature/webhook_cleanup_test_case branch 2 times, most recently from 7008d51 to 1c99e54 Compare January 12, 2025 19:23
@nfalco79 nfalco79 added the chore label Jan 12, 2025
Move test to JUnit5 and add processor unit test
Add unit test for hook processor when process pull request. Consider to add other events for tag, new commit and so on
@nfalco79 nfalco79 force-pushed the feature/webhook_cleanup_test_case branch from 1c99e54 to 1c02a35 Compare January 12, 2025 19:51
@nfalco79 nfalco79 merged commit 9e5d889 into master Jan 12, 2025
19 checks passed
@nfalco79 nfalco79 deleted the feature/webhook_cleanup_test_case branch January 12, 2025 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant