Failure in api/1_manage/integrations/webhook_events_spec.rb | Manage WebHooks integration sends an issues and note event
Test metadata (don't modify)
Field | Value |
---|---|
File | qa/specs/features/api/1_manage/integrations/webhook_events_spec.rb |
Description | Manage WebHooks integration sends an issues and note event |
Hash | 92bf6d2351ac0d49e7a2768bf9ea78b7bab23eddbd8409d07b6ac47048d7f5ee |
Stack trace
Failure/Error:
Resource::ProjectWebHook.setup(session: session, issues: true, note: true) do |webhook, smocker|
issue = Resource::Issue.fabricate_via_api! do |issue_init|
issue_init.project = webhook.project
end
Resource::ProjectIssueNote.fabricate_via_api! do |note|
note.project = issue.project
note.issue = issue
end
NoMethodError:
undefined method `register' for nil:NilClass
First happened in https://gitlab.com/gitlab-org/gitlab/-/jobs/4464786012.
Related test case: https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/349723.