-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add initial test for GetAllCVEs handler function
This commit adds the initial test for the GetAllCVEs handler function in the vulnerability handler. The test uses custom mock implementations for the Auth and Vuln services. Details: - Introduced custom mock clients (`MockAuthServiceClientWrapper` and `MockVulnServiceClientWrapper`) to simulate gRPC service behavior. - Implemented the first version of the GetAllCVEs test, checking the interaction between the handler and the mock services. This initial test serves as a foundation for future enhancements and ensures basic functionality.
- Loading branch information
1 parent
a2d7123
commit 79c9fe0
Showing
2 changed files
with
119 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters