Adds missing time variables in static test webhook

What does this MR do and why?

The timestamp data was not being added to the context used to send test Webhooks. The functionality was already there, it just wasn't being called. I simply called the method and it is now working.

Screenshots or screen recordings

The above video is from when I thought all webhooks were missing the data but it turns out that it was just the test webhook that was missing the data. The same function is called but instead of here (the file in the video), it's called in app/classes/web/routes/api/servers/server/webhooks/webhook/index.py where the test webhook is defined (previously missing the time variables).

How to set up and validate locally

The steps are shown in the video as well as in #671 (closed).

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

  • Have you checked this doesn't interfere/conflict/duplicate someone elses work? Yes
  • Have you fully tested your changes? Yes
  • Have you resolved any lint issues? Yes
  • Have you assigned a reviewer? Not yet
  • Have you applied correct labels? Not yet
Edited by Iain Powrie

Merge request reports

Loading