Improve integration tests coverage for VulnerabilityType
The following discussion from !122981 (merged) should be addressed:
-
@bwill started a discussion: (+2 comments) Thank you for fixing this @thiagocsf. It's surprising that we don't have tests for this already.
Could you please add some assertions to check that the response contains vulnerability data? If there is an authorization issue, then the vulnerability returned in the response will be nil. If we make sure the response contains data, then we can also fix #409742 (closed), and this test should be able to catch more bugs.