Remove setData from test in Security Report
What does this MR do and why?
Describe in detail what your merge request does and why.
This MR resolved #390986 (closed)
It is not good practice to directly manipulate data of a component.
What was cleaned up from epic:
- Removed
wrapper.destroy()
- Remove direct modification of Vue instances
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
NO VISUAL CHANGES
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Checkout branch
- Run test locally
- Or just check in pipeline
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #390986 (closed)